windows: replace deprecated GetVersionEx with recommended replacement

The recommended replacement VerifyVersionInfo should work with the same
SDKs that GetVersionEx worked with (while the wrappers in
VersionHelpers.h require a recent SDK).  This patch should not change
behavior, and it's not supposed to increase build requirements.  If
this makes things harder to build, please let me know.
1 file changed