[OpenMP][Tests][NFC] Actually check for test outcome

The CHECK: line in the test had no effect, because the test does not
pipe to FileCheck. Since the test only checks for a single value,
encode the result in the return value of the test.

GitOrigin-RevId: 3f229f42b796df33770184cdb9f2f4b5d15db796
1 file changed