MINOR: listener: split dequeue_all_listener() in two

We use it half times for the global_listener_queue and half times
for a proxy's queue and this requires the callers to take care of
these. Let's split it in two versions, the current one working only
on the global queue and another one dedicated to proxies for the
per-proxy queues. This cleans up quite a bit of code.
diff --git a/src/cli.c b/src/cli.c
index 77db8be..ba48d14 100644
--- a/src/cli.c
+++ b/src/cli.c
@@ -1391,8 +1391,7 @@
 	global.maxconn = v;
 
 	/* Dequeues all of the listeners waiting for a resource */
-	if (!MT_LIST_ISEMPTY(&global_listener_queue))
-		dequeue_all_listeners(&global_listener_queue);
+	dequeue_all_listeners();
 
 	return 1;
 }
@@ -1529,8 +1528,7 @@
 	*res = v * mul;
 
 	/* Dequeues all of the listeners waiting for a resource */
-	if (!MT_LIST_ISEMPTY(&global_listener_queue))
-		dequeue_all_listeners(&global_listener_queue);
+	dequeue_all_listeners();
 
 	return 1;
 }