Remove remaining THC code (#69039)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/69039
Test Plan: Imported from OSS
Reviewed By: anjali411
Differential Revision: D32872476
Pulled By: ngimel
fbshipit-source-id: 7972aacc24aef9450fb59b707ed6396c501bcb31