dictIterator::index: int -> long to avoid overflows. Closes #1929

For reasoning, see #1929.

All tests pass, and everything runs as expected.

`int -> long` change needs to be made in `deps/hiredis/dict.h` also, but a PR will me made to it's repo.