Revert D28981326: torch/lib/c10d: Use torch_check instead of throwing runtime_error
Test Plan: revert-hammer
Differential Revision:
D28981326 (https://github.com/pytorch/pytorch/commit/6ea607500284d74d9f7f6f91b489b355a1fa7fad)
Original commit changeset: 264a7f787ea8
fbshipit-source-id: 75625b76dfbd0cbaf59705d621ef9e2d1677c482