[inductor] fix cpu implement of torch.neg (#94035)
Fixes #93380
Fix to maintain the data type after doing neg.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/94035
Approved by: https://github.com/jgong5, https://github.com/desertfire, https://github.com/jansel