Fix HazardCalculation.get_imts()

Moved `get_imts` to the HazardCalculation class... it looks like there was
previously a faulty resolution of a merge conflict.