semantic: Add missing skip_typeref() to avoid adding unnecessary implicit casts.