Avoid heap allocation in jsEventTargetCast().
Pull request: https://github.com/WebKit/WebKit/pull/12120
Committed 262294@main (fd7c1f2261ac): <https://commits.webkit.org/262294@main> Reviewed commits have been landed. Closing PR #12120 and removing active labels.
<rdar://problem/107389147>