inductor(CPU): fix issue when padding/stride/dilation size is one for cpu weight packing pass(reland) (#101353)
Differential Revision: [D45874469](https://our.internmc.facebook.com/intern/diff/D45874469)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/101353
Approved by: https://github.com/desertfire