trie: fixed a few trie_kvs_encode_info bit calculations.