[MPS] Fix data type issues in Binary Ops (#91151)
- Cast to unsigned type when comparing signed vs. unsigned integers
- Refactor and cleanup logaddexp() ops
Pull Request resolved: https://github.com/pytorch/pytorch/pull/91151
Approved by: https://github.com/malfet