[MPS] Fix upsample output size tensor (incorrect result in MacOS 14.0) (#105677)
Fix output size tensor when passing a batched input tensor - this fixes the upsample test issues in MacOS 14.0
Pull Request resolved: https://github.com/pytorch/pytorch/pull/105677
Approved by: https://github.com/kulinseth