[WebNN] Fallback int64 indices to int32 (#26308)
ONNX's ScatterND and ScatterElements limit their indices input to int64,
but some WebNN backends only support int32 indices. As a workaround for
such backends, we can insert a Cast operation to convert the data type.