Fix _C public bindings test (#61088)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/61088
The test was previously a no-op since it was comparing the bindings with themselves. This fixes that to use the hardcoded list and adds the items that changed in the meantime.
Test Plan: Imported from OSS
Reviewed By: albanD
Differential Revision: D29510525
Pulled By: driazati
fbshipit-source-id: 3497023e5c8b3cd6fdd1d07d48b4f2650b203ded