webgpu: use naive reduction (#28174)
Use naive reduction when the output size of ReduceMean is far greater
than reduce size. Shared reduction method may need to transpose input,
which costs much time.
### Description
<!-- Describe your changes. -->
### 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. -->
---------
Co-authored-by: wp <webgraphics@intel.com>