[cmake] Prevent implicitly passing `-no_exported_symbols` (#87846)

* It is possible to setup llvm-project builds without going through
`llvm/CMakeList.txt` so the fatal error handling should be smarter.
* Disable option on Apple style lldb-linux builds.

GitOrigin-RevId: a3bb9c2b06666e2f4eb005179ca7eef3313b6be5
1 file changed