If found, prefer this over looking for a similar gcc later in the system path.
This implements what @martell suggested in D45152 in a much neater way.
Tests still are TBD, but posting this early to see if there's comments. (How do I easily do a test that checks something relative to the clang binary, since I don't control the location of the tested binary when running tests?)