Standardize on using `uint8_t`, `uint16_t` and `uint32_t` over the mixture of them and `u8`, `u16` and `u32` usage. Also stop using `char` as a `uint8_t`.