[MPS] Fix Clamp with strided outputs/inputs (#97858)
Fixes #94396
Fixes #87348
1. If output is strided, we don't gather input tensors.
2. If output is not strided but min_t or max_t is strided, we make min_t or max_t contiguous.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/97858
Approved by: https://github.com/kulinseth