Fix assertion in mono_gchandle_get_target.