Minimal change for fix on MacOS Monterey
Minimal change for fix on MacOS Monterey

This is basically the patch that jnthn suggested in:

   https://github.com/rakudo/rakudo/issues/4657#issuecomment-983576970

but with the small change that nqp::cpucores is only run once before
the supervisor thread is actually started, rather than at every
start of the raku process.

This basically a shorter version of:

    https://github.com/rakudo/rakudo/pull/4659

without the additional bells and whistles.

salortiz/rakudo,labster/rakudo,tbrowder/rakudo,salortiz/rakudo,MasterDuke17/rakudo,labster/rakudo,rakudo/rakudo,salortiz/rakudo,MasterDuke17/rakudo,rakudo/rakudo,tbrowder/rakudo,rakudo/rakudo,labster/rakudo,salortiz/rakudo,labster/rakudo,MasterDuke17/rakudo,MasterDuke17/rakudo,tbrowder/rakudo,rakudo/rakudo,MasterDuke17/rakudo,salortiz/rakudo,salortiz/rakudo,labster/rakudo,tbrowder/rakudo,tbrowder/rakudo,tbrowder/rakudo,labster/rakudo,rakudo/rakudo,rakudo/rakudo,MasterDuke17/rakudo