[MPS] Fix scatter for bool type (#82685)
By typecasting bool tensors to int8 before scattering
See https://github.com/pytorch/pytorch/issues/82663
Pull Request resolved: https://github.com/pytorch/pytorch/pull/82685
Approved by: https://github.com/albanD, https://github.com/kulinseth