Removed some useless code from risklib

This is the beginning of some cleanup in risklib. See https://bugs.launchpad.net/oq-engine/+bug/1305965