Avoid g_queue_free_full()

RHEL 6 doesn't have it.