Fix TLS allocation (been there a while...)

This worked for the most common case, but was a typo.