As described in D110349, on z/OS applications don't know at compile
time if threading support is enabled, so cxa_guard has to check that
at runtime, and adjust it's behaviour accordingly.
However, rather than checking if threading support is enabled, we can
instead check if there are potentially other threads running, and get
a little extra performance out of single-threaded applications.
This PR is the motivating factor for overhauling cxa_guard in D108343