Restore exclusion of "gcc*" libraries from implicit link information
Revert !800 (merged). Libraries such as
gcc_eh are conditionally implied by gcc based on how it is invoked. They are not safe to use arbitrarily, and so cannot be reported as part of gcc's implicit libraries. Another solution to mixing compiler vendors will be needed.
Fixes: #17436 (closed)