[cmake_modules] recognize linker coming with LLVM 15

This patch updates the GET_LINKER_VERSION cmake's function to work
with ld linker that comes with LLVM 15 as a part of Xcode 15.3 on macOS.
Without this patch, running cmake in the build directory on macOS
using Xcode 15.3 would fail with an error like below:

  -- Checking linker version when not specifying any flags
  CMake Error at cmake_modules/KuduLinker.cmake:87 (message):
    Could not find a suitable linker

Change-Id: If120b281a44fa7a9b9976d078c34f36ab942f089
Reviewed-on: http://gerrit.cloudera.org:8080/21202
Reviewed-by: Abhishek Chennaka <achennaka@cloudera.com>
Tested-by: Alexey Serbin <alexey@apache.org>
1 file changed