Add windows JNI support (#44257)
Summary:
Fixes https://github.com/pytorch/pytorch/issues/32516
Pull Request resolved: https://github.com/pytorch/pytorch/pull/44257
Reviewed By: malfet
Differential Revision: D24332820
Pulled By: ezyang
fbshipit-source-id: 1dd97e9c8140129a02a9078623b190b33f30d5b0