[core] allow using initializer allocator for prepack (#26617)
### Description
This PR makes ORT to prefer initializer allocator when calling
`OpKernel::PrePack`.
If an EP does not register an initializer allocator (currently only
WebGPU does this), the behavior is kept unchanged.
### Motivation and Context
Helps to improve the memory usage when doing prepack.