Optimize Vector construction in a few more places.
Pull request: https://github.com/WebKit/WebKit/pull/20396
Committed 270645@main (91a785670c7f): <https://commits.webkit.org/270645@main> Reviewed commits have been landed. Closing PR #20396 and removing active labels.
<rdar://problem/118341670>