CompilerSelector: raise when no compatible compiler

This replaces the old behaviour of falling back to the original
compiler with no messaging.

Fixes #19170.
Fixes mistydemeo/tigerbrew#45.
Add gcc 4.0 to CompilerSelector compiler queue