Small changes to the logic how stdenvLinux handles the gcc wrapper

Similarly to before, please review not the whole change at once, but first the first commit as a commit that doesn't changes any derivation or output hash; then the second commit is the change over that that actually changes hashes.