Add more smart pointers to RemoteDisplayListRecorder.cpp
<rdar://problem/114401181>
Pull request: https://github.com/WebKit/WebKit/pull/17035
Committed 267255@main (77dc0ea961ec): <https://commits.webkit.org/267255@main> Reviewed commits have been landed. Closing PR #17035 and removing active labels.