Remove toPosInt(Array::length)

Array length always matches `toPosInt` requirements (integer number >= 0) and removing conversion speeds up iterators up to 80% (from 37,660 ops/sec to 68,312 ops/sec  for arrays on my machine).