Make CompilerSelectionError an InstallationError

Fixes #19962.