Fix circular import error in gammapy.image