[CMake] Apply llvm_update_compile_flags() in add_lld_library().

Sorry for the breakage.