tests: fix json test for large numbers
PRIu64 means print a uint64_t, not an unsigned long. This is warned by the compiler:
warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'long unsigned int'
This causes build failures on some 32-bit archs