Adopt more smart pointers in the generated JS bindings code.
Pull request: https://github.com/WebKit/WebKit/pull/19392
Committed 269640@main (2c4f1b8485ec): <https://commits.webkit.org/269640@main> Reviewed commits have been landed. Closing PR #19392 and removing active labels.
<rdar://problem/117335916>