GNUcap: Fix a function spec warning.
GNUcap: Rename iterators to `iter`, remove useless `g_list_destroy`.