[WebGPU] Non-owning getters have the wrong lifetime
<rdar://problem/104518638>
Pull request: https://github.com/WebKit/WebKit/pull/8936
Committed 259867@main (6c4c981002fe): <https://commits.webkit.org/259867@main> Reviewed commits have been landed. Closing PR #8936 and removing active labels.