Adapt origin_get_latest_visit_status according to latest api change
Test Plan
tox (failing until swh.storage > 0.21 and swh.loader.core > 0.15 are released)
Migrated from D4999 (view on Phabricator)
tox (failing until swh.storage > 0.21 and swh.loader.core > 0.15 are released)
Migrated from D4999 (view on Phabricator)