[GHC] #16277: Make JUnit report stdout/stderr in more cases