Fix compressed texture data size handling