cmake: fix finding the clang executable
cmake: fix finding the clang executable

fix test for the existance of CLANG_EXECUTABLE,
and fix finding it on nixos 21.05.

i copied it from:
https://github.com/MaskRay/ccls/blob/master/CMakeLists.txt

rpav/c2ffi,rpav/c2ffi