Port `cumprod` kernel to structured kernels. (#61899)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/61899
Tracking issue: #55070
This PR also removes `at::_cumprod`, which was the "backend" for `at::cumprod`.
Test Plan: Imported from OSS
Reviewed By: ejguan
Differential Revision: D29939152
Pulled By: ezyang
fbshipit-source-id: b3379033a1ffe3c7bc8216d16d089d388ea559ba