[lld] Use llvm::count_if (NFC) (#141519)

diff --git a/lld/wasm/InputChunks.cpp b/lld/wasm/InputChunks.cpp
index ffab83e..8555893 100644
--- a/lld/wasm/InputChunks.cpp
+++ b/lld/wasm/InputChunks.cpp
@@ -174,9 +174,9 @@
 }
 
 size_t InputChunk::getNumLiveRelocations() const {
-  return std::count_if(
-      relocations.begin(), relocations.end(),
-      [this](const WasmRelocation &rel) { return relocIsLive(rel, file); });
+  return llvm::count_if(relocations, [this](const WasmRelocation &rel) {
+    return relocIsLive(rel, file);
+  });
 }
 
 // Copy relocation entries to a given output stream.