common/archive: Improve lookup_origin_visits performance
Use new method origin_visit_get_with_statuses
from storage interface
returning all visits and their statuses instead of querying latest
status for each visit.
Also bump the maximum number of visits per page from 50 to 1000.
Related to swh-storage#4090 (closed)
Migrated from D7559 (view on Phabricator)