Revert "[lld] Fix warnings"

This reverts commit 6800f422c22ffd672b1e31f0d0a3fa29d19b7a13 as the part of revert https://github.com/llvm/llvm-project/pull/82928.

buildbot failures: https://lab.llvm.org/buildbot/#/builders/168/builds/19302/steps/10/logs/stdio

GitOrigin-RevId: 6ae77eca6ceb17033eb58440038e620eba1c6f51
diff --git a/MachO/ObjC.cpp b/MachO/ObjC.cpp
index 3e26ed5..9b24463 100644
--- a/MachO/ObjC.cpp
+++ b/MachO/ObjC.cpp
@@ -636,7 +636,6 @@
       /*extra null value*/ target->wordSize;
   assert(expectedListSize == ptrListSym->isec->data.size() &&
          "Protocol list does not match expected size");
-  (void)expectedListSize;
 
   uint32_t off = protocolListHeaderLayout.totalSize;
   for (uint32_t inx = 0; inx < protocolCount; ++inx) {
@@ -1034,7 +1033,6 @@
 
   Defined *newCatDef = emitCategory(extInfo);
   assert(newCatDef && "Failed to create a new category");
-  (void)newCatDef;
 
   for (auto &catInfo : categories)
     catInfo.wasMerged = true;