Fix ThreadPool.SetMaxThreads to not allow having zero available threads (#8256)
Fix ThreadPool.SetMaxThreads to not allow having zero available threads (#8256)

There is an assertion checking for this, so allowing zero is probably not intentional.

Related to #8236
ruben-ayrapetyan/coreclr,krk/coreclr,sjsinju/coreclr,sagood/coreclr,poizan42/coreclr,russellhadley/coreclr,alexperovich/coreclr,JonHanna/coreclr,yizhang82/coreclr,James-Ko/coreclr,YongseopKim/coreclr,yizhang82/coreclr,qiudesong/coreclr,tijoytom/coreclr,neurospeech/coreclr,tijoytom/coreclr,rartemev/coreclr,ragmani/coreclr,dpodder/coreclr,James-Ko/coreclr,rartemev/coreclr,neurospeech/coreclr,JonHanna/coreclr,JosephTremoulet/coreclr,alexperovich/coreclr,parjong/coreclr,cshung/coreclr,botaberg/coreclr,mskvortsov/coreclr,krytarowski/coreclr,qiudesong/coreclr,russellhadley/coreclr,pgavlin/coreclr,sjsinju/coreclr,cshung/coreclr,yeaicc/coreclr,AlexGhiondea/coreclr,JosephTremoulet/coreclr,kyulee1/coreclr,krytarowski/coreclr,wtgodbe/coreclr,cydhaselton/coreclr,botaberg/coreclr,jamesqo/coreclr,hseok-oh/coreclr,JosephTremoulet/coreclr,hseok-oh/coreclr,neurospeech/coreclr,krytarowski/coreclr,krk/coreclr,gkhanna79/coreclr,alexperovich/coreclr,JonHanna/coreclr,hseok-oh/coreclr,sjsinju/coreclr,ruben-ayrapetyan/coreclr,jamesqo/coreclr,cshung/coreclr,ragmani/coreclr,qiudesong/coreclr,sagood/coreclr,James-Ko/coreclr,gkhanna79/coreclr,JonHanna/coreclr,YongseopKim/coreclr,YongseopKim/coreclr,YongseopKim/coreclr,mmitche/coreclr,JosephTremoulet/coreclr,mmitche/coreclr,yeaicc/coreclr,gkhanna79/coreclr,alexperovich/coreclr,cydhaselton/coreclr,cydhaselton/coreclr,cmckinsey/coreclr,alexperovich/coreclr,James-Ko/coreclr,ruben-ayrapetyan/coreclr,cydhaselton/coreclr,alexperovich/coreclr,mmitche/coreclr,kyulee1/coreclr,krk/coreclr,wateret/coreclr,mmitche/coreclr,parjong/coreclr,hseok-oh/coreclr,mskvortsov/coreclr,krk/coreclr,yeaicc/coreclr,russellhadley/coreclr,parjong/coreclr,pgavlin/coreclr,wateret/coreclr,wtgodbe/coreclr,AlexGhiondea/coreclr,mskvortsov/coreclr,qiudesong/coreclr,yeaicc/coreclr,yeaicc/coreclr,wateret/coreclr,ragmani/coreclr,gkhanna79/coreclr,mskvortsov/coreclr,wateret/coreclr,botaberg/coreclr,yizhang82/coreclr,parjong/coreclr,JosephTremoulet/coreclr,dpodder/coreclr,pgavlin/coreclr,botaberg/coreclr,kyulee1/coreclr,krytarowski/coreclr,wtgodbe/coreclr,rartemev/coreclr,sjsinju/coreclr,yizhang82/coreclr,krk/coreclr,jamesqo/coreclr,sagood/coreclr,poizan42/coreclr,tijoytom/coreclr,kyulee1/coreclr,cshung/coreclr,ragmani/coreclr,dpodder/coreclr,cydhaselton/coreclr,wtgodbe/coreclr,cydhaselton/coreclr,sagood/coreclr,qiudesong/coreclr,gkhanna79/coreclr,tijoytom/coreclr,hseok-oh/coreclr,russellhadley/coreclr,poizan42/coreclr,ruben-ayrapetyan/coreclr,YongseopKim/coreclr,botaberg/coreclr,yizhang82/coreclr,mskvortsov/coreclr,JosephTremoulet/coreclr,jamesqo/coreclr,cmckinsey/coreclr,poizan42/coreclr,krytarowski/coreclr,mmitche/coreclr,sjsinju/coreclr,JonHanna/coreclr,dpodder/coreclr,botaberg/coreclr,AlexGhiondea/coreclr,JonHanna/coreclr,wtgodbe/coreclr,wateret/coreclr,krk/coreclr,parjong/coreclr,cmckinsey/coreclr,gkhanna79/coreclr,ruben-ayrapetyan/coreclr,tijoytom/coreclr,poizan42/coreclr,hseok-oh/coreclr,jamesqo/coreclr,rartemev/coreclr,ragmani/coreclr,AlexGhiondea/coreclr,neurospeech/coreclr,russellhadley/coreclr,sjsinju/coreclr,poizan42/coreclr,pgavlin/coreclr,dpodder/coreclr,James-Ko/coreclr,mmitche/coreclr,cshung/coreclr,yizhang82/coreclr,krytarowski/coreclr,ragmani/coreclr,neurospeech/coreclr,wtgodbe/coreclr,sagood/coreclr,russellhadley/coreclr,neurospeech/coreclr,James-Ko/coreclr,cshung/coreclr,rartemev/coreclr,cmckinsey/coreclr,AlexGhiondea/coreclr,wateret/coreclr,cmckinsey/coreclr,AlexGhiondea/coreclr,tijoytom/coreclr,jamesqo/coreclr,qiudesong/coreclr,dpodder/coreclr,ruben-ayrapetyan/coreclr,cmckinsey/coreclr,kyulee1/coreclr,yeaicc/coreclr,parjong/coreclr,cmckinsey/coreclr,yeaicc/coreclr,pgavlin/coreclr,YongseopKim/coreclr,pgavlin/coreclr,rartemev/coreclr,kyulee1/coreclr,mskvortsov/coreclr,sagood/coreclr