[ Inductor ] Shape padding honors output stride preservation (#120797)
This fix makes sure that shape padding honors inductors 'keep_output_strides' setting.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/120797
Approved by: https://github.com/eellison