cmake: Clear INSTALL file properties between runs
Do not keep state across separate project configurations.
This is particularly important in cmake-gui
where those
configurations can be for separate projects.
Fixes: #21580 (closed)
Backport: release
Edited by Brad King