Removed the dependency from oq-commonlib

This is the companion of https://github.com/gem/oq-risklib/pull/82
The tests are green: https://ci.openquake.org/job/zdevel_oq-engine/853/