gh-152433: Fix errors in sys.getwindowsversion() for UWP build (GH-152604)