win32: Fix *printf & require mingw32-runtime version > 3.13
*printf as per MSVCRT is not c99 compliant. mingw32 provides a set of
replacement functions, but these are buggy in old versions.
Defining __USE_MINGW_ANSI_STDIO causes mingw's stdio to provide a
set of wrappers that use the mingw32 version that gets statically
linked.
Attention needs to be given to contrib too, it is possible for contrib
to expect a c99 *printf and later die. This patch modifies the conrtib
bootstrap to define the above in CPPFLAGS, however, not all builds
honour CPPFLAGS.
This can be validated by looking for the import from msvcrt: