[Web GPU] Indexed drawing and GPUCommandEncoder crash prevention