adjusts conv kernel to use get/set by offset helpers (#29463)
### Description
<!-- Describe your changes. -->
Prevents buffer overflow for conv node when input images are too large
### 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. -->
Fixes https://github.com/microsoft/onnxruntime/issues/29130
The ReduceMean hypothesis in the issue was wrong and this addresses the
actual root cause
---------
Co-authored-by: Prathik Rao <prathikrao@microsoft.com>