Add GetMemoryAssertFlag function
Disable memory assert when (un)swizzling graph