change variable used to __MINGW64_VERSION_MAJOR  (the mingw64_w32 doesn't have __MINGW64_ (only the mingw64-w64 has that)

git-svn-id: http://svn.osgeo.org/postgis/trunk@11218 b70326c6-7e19-0410-871a-916f4a2858ee