Silence inttypes.h compiler warnings on Windows

- the warnings are related to MinGWs inttypes.h (observed with MinGW based
  on GCC version 4.8.1 (rev5, Built by MinGW-W64 project) and likely
  other version also suffer from this)
- fixes #3236