fix(util/thread): add missing declaration when compiling with Boost

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
feat(util/thread): add LEAN_THREAD_PTR macro, it uses boost::thread_specific_ptr instead of thread_local keyword when we compile with Boost

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>