Add support for non-str/bytes keys for msgpack >= 1.0.
msgpack 1.0 disables support for non-str/bytes keys by default, but we use None as key in the output of swh-storage's snapshot_count_branches and ints in swh-scheduler.
Migrated from D2695 (view on Phabricator)