Reflected the API change in refactor-risk-model

See https://github.com/gem/oq-risklib/pull/70