SortedRange.length should support inner ranges with ulong as length in 32 bit

`assumeSorted(iota(cast(ulong)2))` does not compile.