Tests: Look for Visual Studio only on Windows hosts
Update logic added by !4898 (merged) to only look for VS installations using cmake_host_system_information
on Windows hosts. Otherwise the VS_*_DIR
keys are not available.
Fixes: #21547 (closed)
Backport: release