[WebGPU] Add validation for RenderPassEncoder
<rdar://problem/110746831>
Pull request: https://github.com/WebKit/WebKit/pull/14944