Remove SchemaRegistrationHandleRAII. (#29379)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/29379
ghstack-source-id: 93452912
Test Plan: buck build caffe2:aten_cpu
Differential Revision: D18365671
fbshipit-source-id: 0141930e50a4b519df866ce70b724d17601e29dd