[BE] Delete GCC-7 ICE workarounds (#120122)
As one needs gcc-9 to compile PyTorch, so those workarounds are no longer relevant
Pull Request resolved: https://github.com/pytorch/pytorch/pull/120122
Approved by: https://github.com/huydhn, https://github.com/kit1980, https://github.com/Skylion007