loader: Expect visit_date as an optional date in constructors
This avoids side-effect in the constructor and also aligns how it's done in other loaders (e.g git).
Depends on !51 (closed) Related to swh-core#1410
Migrated from D5076 (view on Phabricator)