Fixed dds mipmap size calculation