Devirtualize many of the renderer type checks.
Pull request: https://github.com/WebKit/WebKit/pull/18352
Committed 268604@main (7b1df14b9fdf): <https://commits.webkit.org/268604@main> Reviewed commits have been landed. Closing PR #18352 and removing active labels.
<rdar://problem/116197598>