use fixed-width types to define u8char_T

The current approach was a bit ad-hoc.