utils.h: use <stdint.h> (if available) instead of reinventing it.