fix issue in cocosbuilder where copy unaligned memory in calling memcpy (which is optimized in release)