Move some Mac-only code to WebProcessPoolCocoa
Pull request: https://github.com/WebKit/WebKit/pull/1924
Committed 251975@main (ee66d840dabc): <https://commits.webkit.org/251975@main> Reviewed commits have been landed. Closing PR #1924 and removing active labels.
<rdar://problem/96187995>