Use std:: not boost:: thread handling classes

Given that C++11 now has a full set of thread safety and thread classes it is more portable to use those then to use the boost equivalent.
Merge pull request #6407 from Dr15Jones/switchBoostMutexToStdMutex

Use std:: not boost:: thread handling classes