Revert D25687465: [PyTorch] Devirtualize TensorImpl::dim() with macro
Test Plan: revert-hammer
Differential Revision:
D25687465 (https://github.com/pytorch/pytorch/commit/4de6b279c8975409b554ecdb0fcf611839e55f9b)
Original commit changeset: 89aabce165a5
fbshipit-source-id: fa5def17209d1691e68b1245fa0873fd03e88eaa