Fix NativeFunctions.h for c10-full ops (#46090)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/46090
ghstack-source-id: 114269272
Test Plan: vs base diff: https://www.internalfb.com/intern/fblearner/details/223884639/
Reviewed By: ezyang
Differential Revision: D24219942
fbshipit-source-id: 6f338c7c0dd5adfe2fba8b36ccc340032d3faef8