Update error message to use the correct lexer token name

refs #7883