Thread: added missing include for #7720.

svn path=/trunk/libs/thread/; revision=82954