[WebGPU] Device::createTexture will crash if pixel format is invalid
radar://122402160
Pull request: https://github.com/WebKit/WebKit/pull/23936
Committed 274187@main (f7b9c813aa24): <https://commits.webkit.org/274187@main> Reviewed commits have been landed. Closing PR #23936 and removing active labels.