Use std::thread::hardware_concurrency, instead of Boost, to determine available cores
Summary: This is a backport of Core PR10271
Test Plan:
make check
Reviewers: #bitcoin_abc, majcosta
Reviewed By: majcosta
Differential Revision: https://reviews.bitcoinabc.org/D5843