[PyTorch][easy] Move more strings in torch::class_ (#54547)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/54547
These arguments to `BuiltinOpFunction`'s ctor don't need to be copied.
ghstack-source-id: 124690196
Test Plan: CI
Reviewed By: SplitInfinity
Differential Revision: D27277318
fbshipit-source-id: 68f1f545ca977b2e1cabc91620da31719bf81e1a