Thread: Apply patch for #8212.

svn path=/trunk/boost/thread/; revision=83425