BUG: Check that npyiter is not too large

Since NpyIter keeps track of the total size, this cannot be
larger then npy_intp, so that an overflow check is necessary.
Merge pull request #3918 from seberg/nditer-too-large

BUG: Check that npyiter is not too large