renderer: Ensure that the box of the copy region is within the original resource
Makes sure to never copy a region of the resource larger than the original one.
Closes: https://gitlab.freedesktop.org/virgl/virglrenderer/-/issues/448 Closes: https://gitlab.freedesktop.org/virgl/virglrenderer/-/issues/451
Edited by Corentin Noël