Fix index type

Index could be 64-bit integers if ITK compiled with ITK_USE_64BITS_IDS
flag.