[Python-checkins] Fixes platform.win32_ver on non-Windows platforms (GH-12912)