Adopt more smart pointers in HTMLMediaElement.cpp.
Pull request: https://github.com/WebKit/WebKit/pull/24221
Committed 274445@main (362800062a07): <https://commits.webkit.org/274445@main> Reviewed commits have been landed. Closing PR #24221 and removing active labels.
<rdar://problem/122759117>