Use more smart pointers in SubresourceLoader
Pull request: https://github.com/WebKit/WebKit/pull/19795
Committed 270049@main (85c7594d6be4): <https://commits.webkit.org/270049@main> Reviewed commits have been landed. Closing PR #19795 and removing active labels.
<rdar://problem/117790205>