Include <print> header

adb includes <android-base/logging.h>, which includes <ostream>. After
upgrading from from clang r510928 to r522817, <ostream> starts
including <print> indirectly. <print> calls isatty, so if <print> is
included, it must be included before we poison isatty.

Use __has_include because <print> doesn't exist in the old
external/libcxx repo.

Bug: 333165689
Test: m adb
Flag: EXEMPT, trivial change
Change-Id: I69da1761f5a525fb84471b36b132c01bd28e8337
diff --git a/sysdeps.h b/sysdeps.h
index 224a517..a06b939 100644
--- a/sysdeps.h
+++ b/sysdeps.h
@@ -31,12 +31,15 @@
 #include <string_view>
 #include <vector>
 
-// Include this before open/close/unlink are defined as macros below.
+// Include this before open/close/isatty/unlink are defined as macros below.
 #include <android-base/errors.h>
 #include <android-base/macros.h>
 #include <android-base/off64_t.h>
 #include <android-base/unique_fd.h>
 #include <android-base/utf8.h>
+#if __has_include(<print>)
+#include <print>
+#endif
 
 #include "adb_unique_fd.h"
 #include "sysdeps/errno.h"