[Cocoa] objectForEqualityCheck() is no longer necessary
<rdar://problem/114474905>
Pull request: https://github.com/WebKit/WebKit/pull/17088
Committed 267312@main (dc989b3ef737): <https://commits.webkit.org/267312@main> Reviewed commits have been landed. Closing PR #17088 and removing active labels.