Fix uncaught-exception.test. (#146181)

See https://github.com/llvm/llvm-project/pull/125924

I didn't test it as I don't have access to a windows machine.

GitOrigin-RevId: 72060f1cfd561d9712b249fc2e13203d527800d6
1 file changed