Fix ThreadSpecific misuse of HashMap

Zero is the empty key for HashMaps with long keys, so
we cannot use it as the key for the first ThreadSpecific value.