[QNN-EP] Update gather op input tensor cast logic. (#26835)
### Description
<!-- Describe your changes. -->
Gather op was referring to onnx graph when deciding whether to insert
`Cast->int32` on indices. But input tensor is created by QNN and it
could already casted into int32. Which cause mismatch and resulting
adding redundant Cast. This PR changes Gather Op builder to refer to QNN
tenser before adding int64->int32 cast.
### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->
It solve QNN-Gather op not to insert redundant Cast->int32.
---------
Signed-off-by: Mu-Chein Hsu <quic_muchhsu@quicinc.com>
Co-authored-by: Edward Chen <18449977+edgchen1@users.noreply.github.com>