Change the type of the stats variables from uint64_t to int64_t

Some compilers complain about the printf %llx format being used with a
uint64_t