Devirtualize more RenderObject type checks.
Pull request: https://github.com/WebKit/WebKit/pull/18414
Committed 268662@main (5381f2a7b3c6): <https://commits.webkit.org/268662@main> Reviewed commits have been landed. Closing PR #18414 and removing active labels.
<rdar://problem/116247618>