The linker might remove interfaces that have already been linked away. Make sure to look for the TypeDefinition for such interfaces among the types that have already been linked away. Fixes https://github.com/xamarin/xamarin-macios/issues/3513.