When JUnit-style output is selected, never return failure to caller.

If JUnit-style results are being collected, then failures of individual tests
will be reported there, and there is no need for test execution to be stopped.
This patch causes the script to return a final result of zero even if there
were failures when JUnit-style output is being generated.