inductor: fix onednn conv2d(transpose) packed issue when input size is three (#99601)
Fix https://github.com/pytorch/pytorch/issues/99568, this PR adds an input size check before doing conv2d(transpose) packed.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/99601
Approved by: https://github.com/jgong5, https://github.com/jansel