FindJava, FindJNI: ensure correct handling of versions on Windows * versions are sorted in correct order * EXACT keyword is taken into account Fixes: #23479