[fx/operator_schemas] Bring back check for OpOverload (#73978)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/73978
Partial backout of D34727831 (https://github.com/pytorch/pytorch/commit/beda4e8b2f644434202c3d27eac21b5bf9b82321)
Test Plan: CI
Reviewed By: openrichardfb
Differential Revision: D34761511
fbshipit-source-id: 14cdfdb080efb223f20cac2e550b75baf99d2f2f
(cherry picked from commit 42ee1936f1e06a9626df3b15039153f5d82b2646)