Port `scatter` and `scatter_add` to `OpInfo` (#56140)
Summary:
Fixes https://github.com/pytorch/pytorch/issues/54302
Tracking Issue https://github.com/pytorch/pytorch/issues/54261
**Summary:**
- Port `scatter` and `scatter_add` tests to `OpInfo`
- `masked_scatter` was already ported to `OpInfo`
Pull Request resolved: https://github.com/pytorch/pytorch/pull/56140
Reviewed By: malfet
Differential Revision: D27918038
Pulled By: heitorschueroff
fbshipit-source-id: 80b507fe8761cd15c967c85e0c289b568b877573