Make swh.graph dependency optional 2/2
Those were missed in the first part of the implementation. They got revealed by the debian build.
Related to swh/infra/sysadm-environment#3412 (closed) Related to !94 (closed)
Migrated from D5938 (view on Phabricator)