fix missing-prototypes warnings in torch_cpu (Part 3) (#100245)
This PR fixes more missing-prototypes violations in the torch_cpu source following PRs #100053 and #100147
Pull Request resolved: https://github.com/pytorch/pytorch/pull/100245
Approved by: https://github.com/Skylion007