Fix conda cmake setup for macos x86-64 (#84682)

The latest conda setup with cache causes package conflicts for macos x86-64 with cmake-3.19, for example https://github.com/pytorch/pytorch/runs/8237917073.  It's near impossible to understand the cryptic package conflicts errors from conda.  `cmake=3.22.1` is the same cmake version used in macos arm64, which doesn't have the issue.

At the moment, the mac x86-64 build and test jobs success because they are reinstalled with stock conda from miniconda installation script every time and don't use any cache.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/84682
Approved by: https://github.com/ZainRizvi
diff --git a/.jenkins/pytorch/macos-common.sh b/.jenkins/pytorch/macos-common.sh
index 4df378d..319e88e 100755
--- a/.jenkins/pytorch/macos-common.sh
+++ b/.jenkins/pytorch/macos-common.sh
@@ -28,7 +28,7 @@
     numpy=1.18.5 \
     pyyaml=5.3 \
     setuptools=46.0.0 \
-    cmake=3.19 \
+    cmake=3.22.1 \
     cffi \
     ninja \
     typing_extensions \