Migrate `random_` from the TH to Aten (CPU) (#32534)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/32534
Fixes #24752
Fixes #32510
Test Plan: Imported from OSS
Differential Revision: D19776613
Pulled By: pbelevich
fbshipit-source-id: a8d262bccf5f2807f6125c83080aa16d77491b19