Change key type of g_hash_table