Make more use of UniqueRef in WebCore::Page
<rdar://problem/107265298>
Pull request: https://github.com/WebKit/WebKit/pull/12002
Committed 262262@main (969004bb4fc5): <https://commits.webkit.org/262262@main> Reviewed commits have been landed. Closing PR #12002 and removing active labels.