frontend: fix -fsingle-threaded default detection logic

The logic in 509be7cf1f10c5d329d2b0524f2af6bfcabd52de assumed that
`use_llvm` meant that the LLVM backend would be used, however, use_llvm
is false when there are no zig files to compile, which is the case for
zig cc. This logic resulted in `-fsingle-threaded` which made libc++
fail to compile for C++ code that includes the threading abstractions
(such as LLVM).
e74ced21b7Andrew Kelley committed on 11/6/2023, 6:16:09 AMparent1b0b46a
2 files changedLine totals unavailable