Don't access self.db directly in ArchiverStorage
Summary: This syncs the archiver to be compatible with the changes from D324
Test Plan: make test works when D324 is applied to swh.storage
Differential Revision: https://forge.softwareheritage.org/D326