sigchain: switch from __thread to pthread_setspecific. am: d8fbd99cbf
am: 41a88f4653

Change-Id: I30c1b4d98f65da158e06dec3713b2fbeb64a0cbe