Migrate CPU reduction to c10::complex (#38022)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/38022
Test Plan: Imported from OSS
Differential Revision: D21518270
Pulled By: anjali411
fbshipit-source-id: 382845a4d966fcdcb416895341502a09e378e57c