Fix: tools: Fix append_attr_list.
Instead of using g_hash_table_foreach and passing in a pointer to the
list that needs to be updated, simply use an iter and update the list as
we go. This fixes a bug where the list was not actually being appended
to.