Allow Python long integers in indexing.

As long as they fit in an int64.