[3.6] bpo-30567: Fix refleak in sys.getwindowsversion (GH-1940) (#1970)

(cherry picked from commit 48fb766)
1 file changed