[mlir][tosa] Fix scatter duplicate indices check for int64 (#168085)
This commit fixes the validation check for duplicate indices in the TOSA
scatter operation when using int64 index tensors. Previously, use of
int64 index tensors would cause a crash.