Thread: apply patch for #8530.

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