[inductor] make `conv2d` tests pass (#91952)
```
TORCHDYNAMO_DYNAMIC_SHAPES=1 AOT_DYNAMIC_SHAPES=1 python -m pytest -v test/inductor/test_torchinductor.py -k test_conv2d
```
Pull Request resolved: https://github.com/pytorch/pytorch/pull/91952
Approved by: https://github.com/ezyang