aotautograd: fix mutation bug when input is noncontiguous (#102767)
Fixes https://github.com/pytorch/pytorch/issues/93363.
See the comment here for details: https://github.com/pytorch/pytorch/issues/93363#issuecomment-1572647261
Pull Request resolved: https://github.com/pytorch/pytorch/pull/102767
Approved by: https://github.com/ezyang