Bring the fix to flaky missing libzstd on MacOS M1 to its build job (#98236)
I did this fix https://github.com/pytorch/pytorch/pull/92737 a while back on MacOS M1 test job and haven't seen this flaky issue [Library not loaded: @rpath/libzstd.1.dylib](https://hud.pytorch.org/failure/Library%20not%20loaded%3A%20%40rpath%2Flibzstd.1.dylib) there again. Recently, we start to build on M1 runners, and the flaky failure starts to show up there too, i.e. https://github.com/pytorch/pytorch/actions/runs/4599605256/jobs/8125180118. So I'm bringing the same fix to MacOS M1 build job.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/98236
Approved by: https://github.com/ZainRizvi