Fix incorrect memset in MegaTexture.cpp