[OPTIM] task: don't scan the run queue if we know it's empty

It happens quite often in fact, so let's save those precious cycles.
diff --git a/src/task.c b/src/task.c
index 9b21fd9..a054150 100644
--- a/src/task.c
+++ b/src/task.c
@@ -196,6 +196,10 @@
 	run_queue_cur = run_queue; /* keep a copy for reporting */
 	nb_tasks_cur = nb_tasks;
 	max_processed = run_queue;
+
+	if (!run_queue)
+		return;
+
 	if (max_processed > 200)
 		max_processed = 200;