Detect overflow in numel of sparse COO tensor (#57492)
Summary:
Fixes https://github.com/pytorch/pytorch/issues/57416
Pull Request resolved: https://github.com/pytorch/pytorch/pull/57492
Reviewed By: albanD
Differential Revision: D28273649
Pulled By: mruberry
fbshipit-source-id: 08ba50509556df1981d7ede025d84a836d2e8e5e