Add stack size control

Although this change is primarily for THREADED_X build, we've previously put all similar changes int the non-threaded build as well. This keeps the cmsRun command line arguments and ```process.options``` parameters between the two builds the same.