[Shape Detection] Fix internal Apple build
<rdar://problem/108567840>
<rdar://problem/108561521>
Pull request: https://github.com/WebKit/WebKit/pull/13205
Committed 263429@main (67ce1e3fcec1): <https://commits.webkit.org/263429@main> Reviewed commits have been landed. Closing PR #13205 and removing active labels.