CMake: adjust apple clang compiler check

Before it was checking if the compiler was AppleClang, however, this did
not handle the case when using a compiled-from-source Clang on a macOS
computer, in which case the linker is still Apple ld64, and it is in
fact the linker that needs to have the different flag to communicate
stack size.
aaf95ce849Andrew Kelley committed on 12/6/2022, 7:15:05 PMparente73170f
1 file changedLine totals unavailable