bench: Use CCheckQueue local thread pool
Summary:
This is a backport of core#18710 [3/4]
https://github.com/bitcoin/bitcoin/pull/18710/commits/6784ac471bb32b6bb8e2de60986f123eb4990706
Depends on D10986
Test Plan:
With TSAN:
ninja bitcoin-bench && TSAN_OPTIONS=suppressions=/home/pierre/dev/bitcoin-abc/test/sanitizer_suppressions/tsan src/bench/bitcoin-bench
Reviewers: #bitcoin_abc, Fabien
Reviewed By: #bitcoin_abc, Fabien
Differential Revision: https://reviews.bitcoinabc.org/D10987