[WebGPU] wgpuSwapChainPresent should check for nullptr
radar://122114266
Pull request: https://github.com/WebKit/WebKit/pull/23680
Committed 273933@main (839113fa30ac): <https://commits.webkit.org/273933@main> Reviewed commits have been landed. Closing PR #23680 and removing active labels.