Fix regression in test_typingerror: UntypedAttributeError should be a TypingError subclass to be propagated as-is by typeinfer.