inductor(CPU): fix issue when padding/stride/dilation size is one for cpu weight packing pass (#100951)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/100951
Approved by: https://github.com/jgong5, https://github.com/EikanWang, https://github.com/jansel