glib-compat: add g_(s)list_free_full()