[MPS] Fix data type and shape issues in Scatter and Gather ops (#91514)
- Clean up redundant code and headers
- Move scatter/gather ops from block list to allow list in TestConsistency
Pull Request resolved: https://github.com/pytorch/pytorch/pull/91514
Approved by: https://github.com/kulinseth