IntervalUtils: widen getDims argument type

All it really needs is a Dimensions, not an Interval specifically.