Fix Windows non-CUDA build break (#26168)
### Description
Fix warnings in non-CUDA EP Windows builds
### 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. -->
Minor fix from https://github.com/microsoft/onnxruntime/pull/26102