[RFC 6/7] selftests: kselftest_harness: let ksft_test_result_code() handle line termination