Fix rustc_codegen_gcc build and tests failure in CI
#118706
Merged
rustc_codegen_gcc build and tests failure in CI
#118706