Fix issue with TBID debug code and build order.

The static hash table used for debuggung should only be accessed
if turbo badger is initialized, to guarantee that the hashtable itself
has been initialized properly.