Skip DNS host fix on ROCm runners (#100861)
The quick fix in https://github.com/pytorch/pytorch/pull/100507 is only needed on Linux runners, not ROCm as the latter doesn't have the corresponding step in [setup-linux](https://github.com/pytorch/pytorch/pull/100436). ROCm runners use `setup-rocm` action instead, and it doesn't seem to have any issue with DNS, so there is no need to add the quick fix to ROCm.
This is currently breaking ROCm binary test job in trunk, for example https://github.com/pytorch/pytorch/actions/runs/4905878029/jobs/8761271482.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/100861
Approved by: https://github.com/ZainRizvi, https://github.com/jithunnair-amd