Fix AddAliasScopeMetadata to not add scopes when deriving from unknown pointers