[3.7] Workarounds to allow GitHub Actions macOS CI tests to run for 3.7. (GH-104998)
Note that this is intended solely for the current GitHub Actions CI
macOS environment, in particular, macOS 12 on Intel-64 only.
Out of the box, 3.7.x does not fully support macOS 11 and
later systems and does not fully support building or running on
Apple Silicon Macs (which were first supported in macOS 11),
all of which were released after 3.7 had reached the
security-fix-only phase of its life cycle.