ci: Explicitly disable Java tests on Windows
Avoid searching for a Java installation on Windows hosts. This will allow some CI hosts to have Java for other projects.
We already do this on macOS. While at it, clarify the macOS setting.
Backport: release
Edited by Brad King