As the tinyformat-based formatting system (introduced in b77dfdc) is type-safe, no special format characters are needed to specify sizes.
Tinyformat can support (ignore) the C99 prefixes such as "ll" but chokes on mingw's inttypes.h prefixes such as "I64X". So don't include inttypes.h and define our own for compatibility. This also further reduces C99 dependency and platform variability.
(a possibly better alternative would be to sweep the entire codebase using sed -i to get rid of the special size specifiers but this has less diff impact)
Tested by strprintf numbers test: https://github.com/bitcoin/bitcoin/blob/master/src/test/util_tests.cpp#L310
Fixes an issue in getpeerinfo on Windows noticed on the mailing list by Ronald Hoffman.