FindPython: fix python compiler validation
Ensure also the cache of properties is erased in case of multiple searches.
Fixes: #20626 (closed), #20627 (closed)
Backport: release
Topic-rename: FindPython-fix-python-compiler-validation
Edited by Brad King