Update backwards compatibility check to ignore reverted op (#52841)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/52841
ghstack-source-id: 122515522
Test Plan: CircleCI
Reviewed By: malfet
Differential Revision: D26665136
fbshipit-source-id: f2aafa8e05f39e284f66f88685d9ce675bebe1cf