Fix handling of tabix files where dict is NULL

This pull request ensures we don't segfault in the case where tbx->dict is NULL.