Remove native_functions.yaml dependency from GridSample.{cpp,cu} (#66979)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/66979
Test Plan: Imported from OSS
Reviewed By: mruberry
Differential Revision: D31856103
Pulled By: malfet
fbshipit-source-id: 49e674dcf8555f358fbac72826204ee3bcc28f70
(cherry picked from commit 9c785d94c06b45d660b42df1f78ab6119a182430)