cmCTestTestHandler: refactor CleanTestOutput method Refactor the code to skip over UTF-8 multi-bytes into its own lambda function so it can more easily be re-used.