Remove unused includes to common/thread.h