[CI] Update macos resource class. NFC (#25955)

See https://circleci.com/changelog/deprecation-of-mac-m1-and-m2-resource-classes/
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 5b1d3f5..62868e9 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -14,10 +14,10 @@
       # brew itself which takes more than 4 minutes.
       HOMEBREW_NO_AUTO_UPDATE: "1"
     macos:
-      # Corresponds to macOS 12.6.1
+      # Corresponds to macOS 13.2.1
       # See https://circleci.com/docs/guides/execution-managed/using-macos/#supported-xcode-versions
-      xcode: "14.0.1"
-    resource_class: macos.m1.medium.gen1
+      xcode: "14.3.1"
+    resource_class: m4pro.medium
   linux_arm64:
     machine:
       image: ubuntu-2004:2023.07.1