[WFLY-2427] Fix Java home validation for Windows