ns_select fix for macOS terminals (bug#69561)

* src/nsterm.m (ns_select_1): Return early for terminals.
10 jobs for master in 117 minutes and 13 seconds (queued for 9 seconds)
Status Job ID Name Coverage
  Build Images
failed #82501
build-image-inotify

01:56:58

 
  Normal
skipped #82502
test-all-inotify
 
  Platform Images
failed #82503
build-image-eglot

01:56:58

failed #82505
build-image-gnustep

01:57:04

failed #82504
build-image-tree-sitter

01:57:00

 
  Platforms
skipped #82506
test-eglot
skipped #82508
test-gnustep
skipped #82507
test-tree-sitter
 
  Native Comp Images
failed #82509
build-native-comp-speed2

01:57:07

 
  Native Comp
skipped #82510
test-native-comp-speed2
 
Name Stage Failure
failed
build-image-tree-sitter Platform Images There has been a timeout failure or the job got stuck. Check your timeout limits or try again
#10 446.2 Loading /checkout/lisp/emacs-lisp/syntax.el (source)...
#10 446.3 Loading /checkout/lisp/font-lock.el (source)...
#10 446.6 Loading /checkout/lisp/jit-lock.el (source)...
#10 446.8 Loading /checkout/lisp/mouse.el (source)...
#10 447.3 Loading /checkout/lisp/select.el (source)...
#10 447.5 Loading /checkout/lisp/emacs-lisp/timer.el (source)...
#10 447.7 Loading /checkout/lisp/emacs-lisp/easymenu.el (source)...
#10 447.8 Loading /checkout/lisp/isearch.el (source)...
#10 448.4 Loading /checkout/lisp/rfn-eshadow.el (source)...
#10 448.5 Loading /checkout/lisp/menu-bar.el (source)...
failed
build-image-gnustep Platform Images There has been a timeout failure or the job got stuck. Check your timeout limits or try again
#4 143.2 checking whether malloc is Doug Lea style... no
#4 143.5 checking for sbrk... yes
#4 143.9 checking for __lsan_ignore_object... no
#4 144.4 checking for fchmod... yes
#4 144.7 checking for utmpname... yes
#4 145.3 checking for utmpxname... yes
#4 145.8 checking for canonicalize_file_name... yes
#4 146.2 checking for realpath... yes
#4 146.7 checking for lstat... yes
#4 147.1 checking for fchmodat...
failed
build-native-comp-speed2 Native Comp Images There has been a timeout failure or the job got stuck. Check your timeout limits or try again
#4 164.5 checking for libseccomp >= 2.5.2... no
#4 164.6 checking size of long... 8
#4 165.2 checking for accept4... yes
#4 165.7 checking for fchdir... yes
#4 166.1 checking for gethostname... yes
#4 166.5 checking for getrusage... yes
#4 167.2 checking for get_current_dir_name... yes
#4 167.8 checking for lrand48... yes
#4 168.4 checking for random... yes
#4 168.8 checking for rint...
failed
build-image-eglot Platform Images There has been a timeout failure or the job got stuck. Check your timeout limits or try again
#5 121.8 checking for acl_free_text... no
#5 122.2 checking for working acl_get_file... yes
#5 122.8 checking for acl/libacl.h... yes
#5 123.2 checking for acl_entries... yes
#5 123.6 checking for ACL_FIRST_ENTRY... yes
#5 123.9 checking for ACL_TYPE_EXTENDED... no
#5 124.1 checking for working alloca.h... yes
#5 124.6 checking for alloca... yes
#5 124.6 checking for a race-free mkdir -p... /usr/bin/mkdir -p
#5 124.6 checking whether the preprocessor supports include_next...
failed
build-image-inotify Build Images There has been a timeout failure or the job got stuck. Check your timeout limits or try again
#4 140.5 checking for X... no
#4 140.8 checking for X... false
#4 140.8 checking whether malloc is Doug Lea style... no
#4 141.1 checking for sbrk... yes
#4 141.6 checking for __lsan_ignore_object... no
#4 142.0 checking for fchmod... yes
#4 142.4 checking for utmpname... yes
#4 143.0 checking for utmpxname... yes
#4 143.4 checking for canonicalize_file_name... yes
#4 143.9 checking for realpath...