[lld] fix build when LLVM_HAS_VARIADIC_TEMPLATES is false