Only use the -Gm option in desktop debug MSVC builds

This option conflicts with -ZW which is used in Windows Phone builds.