[c10] Fix TORCH_INTERNAL_ASSERT_DEBUG_ONLY MSVC bug (#34173)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/34173
Test Plan:
Temporarily change `AT_ASSERTM` to `TORCH_INTERNAL_ASSERT_DEBUG_ONLY` to test MSVC fix.
```
buck test mode/opt //caffe2/caffe2:caffe2_test_cpu -- 'BlobTest'
```
& CI
Reviewed By: yinghai
Differential Revision: D20235886
fbshipit-source-id: 2b7d618e924a0ede95f4a6b8f60cc08e9d58b09d