AthenaConfiguration: Add a configuration flag for setting the number of threads used for asynchronous algorithms
This MR add a configuration flag for setting the number of threads used for asynchronous algorithms, and sets it to zero to avoid overcommitting CPUs in multi-threaded jobs. A fix in Gaudi is also in the pipeline. See ATEAM-1018 for details.