Adopt more smart pointers in mathml.
Pull request: https://github.com/WebKit/WebKit/pull/28786
Committed 279070@main (71b00c93fe19): <https://commits.webkit.org/279070@main> Reviewed commits have been landed. Closing PR #28786 and removing active labels.
<rdar://problem/128483654>