(cherry picked from commit 2ff661cd8d9b229b6a8d0e64ccd9cb52e92c1315)
Thread
This allows Apple platforms to override the default stack size of a thread in the WorkerThreadPool, which is 512KiB by default. This must be increased, as SPIRV-Cross, used by the Metal driver, can use deeply nested stacks, as can debug builds.