drop std::thread, use pthread

surprise, surprise.  c++11 failed when running in a fips-preloaded
environment.

Falling back to pthread api allows grafips instrumentation of
glxgears.