[clang-repl] Fix the process return code if diagnostics occurred. (#89879)

Should fix the failure seen in the pre-merge infrastructure of #89804.

GitOrigin-RevId: fd5f06eb6d8d8b05846c8d7bd2431079ef707b37
2 files changed