Raise an error when serializing a naive datetime.
There's no reason to allow this, and it's a potential source of invalid data.
Depends on: swh-model!109 (closed), swh-storage!391 (closed) (else, swh-storage tests will crash)
Migrated from D3084 (view on Phabricator)