patch 8.2.4250: channel out callback test is flaky on Mac

Problem:    Channel out callback test is flaky on Mac.
Solution:   Assign high priority to the test process. (Ozaki Kiichi,
            closes #9653)
diff --git a/src/testdir/test_channel_pipe.py b/src/testdir/test_channel_pipe.py
index 5202908..22e58b4 100644
--- a/src/testdir/test_channel_pipe.py
+++ b/src/testdir/test_channel_pipe.py
@@ -5,6 +5,7 @@
 # This requires Python 2.6 or later.
 
 from __future__ import print_function
+import os
 import sys
 import time
 
@@ -27,6 +28,13 @@
             if sys.argv[1].startswith("quit"):
                 sys.exit(0)
 
+    if os.getenv('CI'):
+        try:
+            import thread_util
+            thread_util.set_high_priority()
+        except Exception:
+            pass
+
     while True:
         typed = sys.stdin.readline()
         if typed == "":  # EOF -- stop