svga: fix copying non-zero layers of 1D array textures