Revert "add register_device_op_overrides (#119268)"
This reverts commit 2864a7e161cc107f7e4c00cccdf860a6089c73c3.
Reverted https://github.com/pytorch/pytorch/pull/119268 on behalf of https://github.com/malfet due to Broke lint ([comment](https://github.com/pytorch/pytorch/pull/119268#issuecomment-1953231324))