Fill the array_size value for PIPE_TEXTURE_CUBE
Align destination box to block depth for PIPE_TEXTURE_3D