inductor: make onednn linear inputs are always real contiguous (#108560)
For OneDNN linear, if packed linear inputs are not the default contiguous tensor, it always calls in ref pat and gets a worse performance, this PR will force its inputs to the actual default contiguous tensor.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/108560
Approved by: https://github.com/jgong5, https://github.com/desertfire, https://github.com/jansel