Fix missing include of cstdint and GCC warning.