Revert D31984694: [pytorch][PR] make `TORCH_(CUDABLAS|CUSOLVER)_CHECK` usable in custom extensions
Test Plan: revert-hammer
Differential Revision:
D31984694 (https://github.com/pytorch/pytorch/commit/d4493b27ee513100aab94381a2fc86ba6188f1a1)
Original commit changeset: 0035ecd13980
fbshipit-source-id: c85689007719c9e4a930b0a8a32d481a501d3c14