v3d: Fix handling of texture first_layer offsets for 3D textures.