Use C++11 std::thread::hardware_concurrency()

...and hope it gets past our various tinderboxes.

Change-Id: I4dd95e77c4a74ae58e66f98753fcf5e438080146