Thread: fix bug on future::then when the continuation is void() ir T&().

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