This adds fields to AsmParserState to track attribute and type alias
definitions and uses and teachers the parser to inform the
AsmParserState about them. This will be used to add LSP support for goto
definition and find references for aliases.
Attribute aliases are tolerant to use before def, because certain
location aliases may be deferred.