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/proxy.c b/src/proxy.c
index 1724766..838722d 100644
--- a/src/proxy.c
+++ b/src/proxy.c
@@ -1034,8 +1034,7 @@
 	}
 
 	/* The proxy is not limited so we can re-enable any waiting listener */
-	if (!MT_LIST_ISEMPTY(&p->listener_queue))
-		dequeue_all_listeners(&p->listener_queue);
+	dequeue_proxy_listeners(p);
  out:
 	t->expire = next;
 	task_queue(t);
@@ -2037,8 +2036,8 @@
 			resume_listener(l);
 	}
 
-	if (px->maxconn > px->feconn && !MT_LIST_ISEMPTY(&px->listener_queue))
-		dequeue_all_listeners(&px->listener_queue);
+	if (px->maxconn > px->feconn)
+		dequeue_proxy_listeners(px);
 
 	HA_SPIN_UNLOCK(PROXY_LOCK, &px->lock);