Revert "[aot_inductor] return a copy of any constant (#111356)"
This reverts commit 71e1f34923af186dff46a8641c977a1cf507e06c.
Reverted https://github.com/pytorch/pytorch/pull/111356 on behalf of https://github.com/jeanschmidt due to Breaking internal ci ([comment](https://github.com/pytorch/pytorch/pull/111356#issuecomment-1768503640))