Ticket #547: CMakeLists fix: set mingw specific option only when needed
The -Wno-pedantic-ms-format shall be set only when mingw is used, otherwise the option is indicated not supported when warnings occur on other GNU compiler
The -Wno-pedantic-ms-format shall be set only when mingw is used, otherwise the option is indicated not supported when warnings occur on other GNU compiler