config: Put HAVE_STDINT in common.h and use to define uint8_t.