Adopt more smart pointers for JSC::VM in JS bindings, as recommended by the analyzer.
Pull request: https://github.com/WebKit/WebKit/pull/24215
Committed 274440@main (e9cd8227d2c0): <https://commits.webkit.org/274440@main> Reviewed commits have been landed. Closing PR #24215 and removing active labels.
<rdar://problem/122731083>