MIR Parser: Report an error when parsing duplicate register flags.