macOS: print stackoverflow warning if the overflow happened inside GC (#55211)
See discussion in https://github.com/JuliaLang/julia/issues/55192.
I'm not sure how easy it is to recover from a stack overflow inside the
GC (or whether we should even try to do it), but we should at least
print a stack overflow warning here IMO.