Fix addDownload infinite loop when max-download-results is reached

RequestGroupMan::addDownloadResult will to purge the oldest result according to max-download-results, or at least this is how it is supposed to be.

The implementation however does not actually purge anything, ever. The while loop is therefore an infinite busy loop, halting aria2 while buring CPU circles.

Forgive my somewhat rusty C++/STL