Use std::condition_variable and sync.h instead of boost in scheduler_tests.cpp
Summary: We'd rather use standard C++ instead of boost when we have the opportunity.
Test Plan:
ninja all check
Reviewers: #bitcoin_abc, jasonbcox
Reviewed By: #bitcoin_abc, jasonbcox
Differential Revision: https://reviews.bitcoinabc.org/D6515