[cmake] rework LLVM_LINK_LLVM_DYLIB option handling