Adopt more smart pointers in Page.cpp.
Pull request: https://github.com/WebKit/WebKit/pull/24036
Committed 274301@main (dd3340d4fb22): <https://commits.webkit.org/274301@main> Reviewed commits have been landed. Closing PR #24036 and removing active labels.
<rdar://problem/122558578>