Check for TypeKind.ERROR in addition to ErrorType

see https://github.com/excilys/androidannotations/issues/450