lexer: Use errors.New instead of fmt.Errorf for constant strings.