swh.storage doesn't expose a db attribute any longer
Summary:
Also make sure storage objects get garbage collected properly, so that automatic
database cleanups keep working.
Test Plan: make test passes when D324 is applied to swh.storage
Differential Revision: https://forge.softwareheritage.org/D327