Cleanup some unused macros from util.h
Encapsulate _snprintf/sprintf difference in implementation not header