[PyTorch] Fix TORCH_CHECK_INDEX(false, ...) in IndexKernel (#53028)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/53028
TORCH_CHECK (and variants) wrap the condition in C10_UNLIKELY, so this code is both prettier and better.
ghstack-source-id: 122755165
Test Plan: CI
Reviewed By: malfet
Differential Revision: D26522821
fbshipit-source-id: 70aa11f1859f979657a1f376f7039b5015c69321