server_queuereader: fix crash in any_of mode, issue #4

When the last secondary had data in its queue, but not enough to make us
consider "helping out" that secondary, queue would be set to NULL, but
qlen != 0, therefore the loop wrongly didn't terminate.