r300g: fix mipmapped texture3D size calculation