Windows, JNI, processes: use AutoHandles
Windows, JNI, processes: use AutoHandles

Closes #8043.

PiperOrigin-RevId: 243607149

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