Use more smart pointers in WebCore/Modules.
Pull request: https://github.com/WebKit/WebKit/pull/17630
Committed 267850@main (5ba6f209bd3e): <https://commits.webkit.org/267850@main> Reviewed commits have been landed. Closing PR #17630 and removing active labels.
<rdar://problem/115266844>