configure: Add -D__USE_MINGW_ANSI_STDIO=1 to CPPFLAGS on MinGW64