Bug 5880: Fix iteration over non-<integer> ranges

* sources/dylan/range.dylan
  (range-next-state, range-previous-state): Declare return value
   as <number> to avoid breakage when type checks are not disabled
   for the dylan library.