Fix a platform guard in UIDelegate.mm
<rdar://problem/118433187>
Pull request: https://github.com/WebKit/WebKit/pull/20519
Committed 270752@main (8d056469ba7e): <https://commits.webkit.org/270752@main> Reviewed commits have been landed. Closing PR #20519 and removing active labels.