Fix multiplication of 0-D sparse tensors (#70749)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/70749
Fixes https://github.com/pytorch/pytorch/issues/65396 and a clang-tidy error.
cc nikitaved pearu cpuhrsch
Test Plan: Imported from OSS
Reviewed By: jbschlosser
Differential Revision: D33439136
Pulled By: cpuhrsch
fbshipit-source-id: 45ec58de7c18db183f891431d4a26e98fd0e924a