gproject: Don't use g_slist_free_full()

To support older versions of glib