Work towards making the build functional on macOS Sonoma.
Pull request: https://github.com/WebKit/WebKit/pull/15254
Committed 265490@main (48d9a42d0a4c): <https://commits.webkit.org/265490@main> Reviewed commits have been landed. Closing PR #15254 and removing active labels.