[wgpu-core] fix length of copy in queue_write_texture
(#5973)
#1707
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention