[Core] Update Exception.h (#64553)
Summary:
Just a small thing that's a little annoying; currently `TORCH_INTERNAL_ASSERT` generates messages like this:
```
unknown file: Failure
C++ exception with description "g_outputs.count(out) > 0INTERNAL ASSERT FAILED at "../torch/csrc/jit/passes/memory_planning.cpp":481, please report a bug to PyTorch. 22
Exception raised from getManagedLiveRangesFromMemEvents at ../torch/csrc/jit/passes/memory_planning.cpp:481 (most recent call first):
```
i.e. with no space between the `#cond` checked and `INTERNAL ASSERT FAILED...`
Re the `STRIP_ERROR_MESSAGES` branch: I'm not sure whether the differences are intentional or accidental? I.e. we don't pass `__FILE__` and `__VA_ARGS__` to `torchCheckFail` whereas we do to `torchInternalAssertFail`. I can reconcile the two in this PR if it's simply an omission.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/64553
Reviewed By: albanD
Differential Revision: D34482923
Pulled By: swolchok
fbshipit-source-id: 40b648dadb5ceea5d9038efd60771d98aa7f0b46
(cherry picked from commit 8d6f1168b2242dfc0d911cce39f0863260e384b1)