Make setup linux action be more friendly with gcp linux runners (#96289)
Fixes issues like the following:
https://github.com/pytorch/pytorch/actions/runs/4362155257/jobs/7627059487 has a more serious core dump failure but the log of curl failures (GCP linux trying to get EC2 specific metadata like EC2 AMI-ID, Instance ID, and Instance Type) confused the HUD.
<img width="848" alt="image" src="https://user-images.githubusercontent.com/109318740/223670567-330521ba-050a-41c3-9efb-fae6ea3398c0.png">
This PR gets rid of those curl failures.
This may have contributed to the impression of "flaky GCP" in #95416
Pull Request resolved: https://github.com/pytorch/pytorch/pull/96289
Approved by: https://github.com/huydhn, https://github.com/yanboliang