Handle writeImportLibrary failing.

We were printing an error but exiting with 0.

Not sure how to test this. We could add a no-winlib feature,
but that is probably not worth it.

llvm-svn: 244109
diff --git a/lld/COFF/Driver.cpp b/lld/COFF/Driver.cpp
index ce2db09..2254532 100644
--- a/lld/COFF/Driver.cpp
+++ b/lld/COFF/Driver.cpp
@@ -710,7 +710,8 @@
   if (!Config->Exports.empty()) {
     if (fixupExports())
       return false;
-    writeImportLibrary();
+    if (writeImportLibrary())
+      return false;
     assignExportOrdinals();
   }