Abstract working with EGL sync objects created from MTLSharedEvent
<rdar://problem/109502752>
Pull request: https://github.com/WebKit/WebKit/pull/14010
Committed 264659@main (023f54b8e5b8): <https://commits.webkit.org/264659@main> Reviewed commits have been landed. Closing PR #14010 and removing active labels.