windows: fix format string attributes on MinGW