Fix setting errorReporter.

Previously the errorReporter was incorrectly moved post creating the Lexer.

PiperOrigin-RevId: 204077155
diff --git a/lib/Parser/Parser.cpp b/lib/Parser/Parser.cpp
index 3c8fc89..8c8ffa0 100644
--- a/lib/Parser/Parser.cpp
+++ b/lib/Parser/Parser.cpp
@@ -53,7 +53,7 @@
               SMDiagnosticHandlerTy errorReporter)
       : context(module->getContext()), module(module),
         lex(sourceMgr, errorReporter), curToken(lex.lexToken()),
-        errorReporter(std::move(errorReporter)) {}
+        errorReporter(errorReporter) {}
 
   // A map from affine map identifier to AffineMap.
   llvm::StringMap<AffineMap *> affineMapDefinitions;