Fix build issue and re-baseline layer based tests
<rdar://problem/126984383>
Pull request: https://github.com/WebKit/WebKit/pull/27689
Committed 277927@main (9706f30b429b): <https://commits.webkit.org/277927@main> Reviewed commits have been landed. Closing PR #27689 and removing active labels.