Apply some std::move and param value fixups to aten (#92901)
I noticed a few perf issues in the latest ATen and decided to fixup a few other miscellaneous ones I noticed recently.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/92901
Approved by: https://github.com/ezyang