[MPS] Handle casting for div operation (#84742)
* Handle casting for div operation
* Update divmode test to test for rounding mode in div
cc. @lhoenig
Pull Request resolved: https://github.com/pytorch/pytorch/pull/84742
Approved by: https://github.com/razarmehr