[MinGW] Fixed C99/C++11 format attributes in printf-like functions