Fix C++ compiler option checks, increase max stack frame size
Fix C++ compiler option checks, increase max stack frame size

The former fixes the actual compiler option checks in `CMakeLists.txt`.

The latter is to avoid a compiler warning in `sandboxed_api/sandbox2/util.cc`,
which needs a stack frame size bigger than pthread's default value (16K).

PiperOrigin-RevId: 419618052
Change-Id: Ieaf72a03bfad0853d774ce0548040e3f2a3ebbc0

google/sandboxed-api,google/sandboxed-api,google/sandboxed-api,google/sandboxed-api