Add a bitwise NOT operator for integer and Boolean types (CUDA).
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/22320
Test Plan: Imported from OSS
Differential Revision: D16183578
Pulled By: colesbury
fbshipit-source-id: 2f72cce5e10fd637be1ac87e1bbfe0937a661034