Fixed an issue where MonoImage was used instead of MonoAssembly when getting corlib pointer.