cat_shape_check: Fixes dimension in the error message for CUDA cat shape check and removes unnecessary offending index information (#64556)
Summary:
Fixes: https://github.com/pytorch/pytorch/issues/64207
Thank you, SsnL for providing the reproducing script.
cc ngimel
Pull Request resolved: https://github.com/pytorch/pytorch/pull/64556
Reviewed By: albanD
Differential Revision: D30843859
Pulled By: ngimel
fbshipit-source-id: 457ebe80eaef793d9f5d35ee962b6697e5de1907