omit pthread tsd dtor code if tsd is not used