MatmulNBits prepacking scales fix (#27412)
### Description
Fix incorrect scales element count while pre-packing scales while we
processing the B input in the Prepack() method of MatmulNBits operator
### Motivation and Context
Fix potential crash due to incorrect element count
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>