Windows, JNI: update Windows version check
Windows, JNI: update Windows version check

Using OSVERSIONINFOEX and GetVersionEx is
deprecated; use IsWindows8OrGreater() instead.

Closes #8039.

PiperOrigin-RevId: 243600203

twitter-forks/bazel,akira-baruah/bazel,twitter-forks/bazel,twitter-forks/bazel,katre/bazel,aehlig/bazel,meteorcloudy/bazel,meteorcloudy/bazel,aehlig/bazel,akira-baruah/bazel,akira-baruah/bazel,katre/bazel,perezd/bazel,safarmer/bazel,aehlig/bazel,akira-baruah/bazel,meteorcloudy/bazel,davidzchen/bazel,aehlig/bazel,dslomov/bazel,bazelbuild/bazel,bazelbuild/bazel,meteorcloudy/bazel,davidzchen/bazel,ulfjack/bazel,dslomov/bazel-windows,ButterflyNetwork/bazel,katre/bazel,ulfjack/bazel,bazelbuild/bazel,werkt/bazel,safarmer/bazel,davidzchen/bazel,ButterflyNetwork/bazel,ButterflyNetwork/bazel,safarmer/bazel,perezd/bazel,werkt/bazel,ulfjack/bazel,dslomov/bazel,safarmer/bazel,safarmer/bazel,cushon/bazel,ButterflyNetwork/bazel,twitter-forks/bazel,dslomov/bazel,dslomov/bazel,perezd/bazel,perezd/bazel,cushon/bazel,aehlig/bazel,meteorcloudy/bazel,bazelbuild/bazel,perezd/bazel,dslomov/bazel,cushon/bazel,davidzchen/bazel,akira-baruah/bazel,dslomov/bazel-windows,cushon/bazel,werkt/bazel,perezd/bazel,werkt/bazel,bazelbuild/bazel,meteorcloudy/bazel,davidzchen/bazel,cushon/bazel,perezd/bazel,dslomov/bazel-windows,ulfjack/bazel,ulfjack/bazel,cushon/bazel,akira-baruah/bazel,aehlig/bazel,ButterflyNetwork/bazel,aehlig/bazel,dslomov/bazel,werkt/bazel,bazelbuild/bazel,katre/bazel,davidzchen/bazel,ulfjack/bazel,dslomov/bazel,meteorcloudy/bazel,dslomov/bazel-windows,safarmer/bazel,katre/bazel,ulfjack/bazel,dslomov/bazel-windows,ButterflyNetwork/bazel,katre/bazel,davidzchen/bazel,twitter-forks/bazel,dslomov/bazel-windows,werkt/bazel,twitter-forks/bazel,twitter-forks/bazel