Use MCHECK in ThreadLocal.h

Fixed issue #54.