[reland] Add OpInfo for `bitwise_not` and make ROCM and CUDA OpInfo tests consistent (#53181)
Summary:
Reference: https://github.com/pytorch/pytorch/issues/42515
This PR also enables the OpInfo tests on ROCM to check the same dtypes that of CUDA.
Note: Reland https://github.com/pytorch/pytorch/issues/51944
Pull Request resolved: https://github.com/pytorch/pytorch/pull/53181
Reviewed By: zhangguanheng66
Differential Revision: D26811466
Pulled By: mruberry
fbshipit-source-id: 8434a7515d83ed859db1b2f916fad81a9deaeb9b