Fix crash when resizing GNUstep builds

The toolkit can send far too many resize notifications, so be more
careful when we take action after receiving one.

* src/nsfns.m (ns_set_tool_bar_lines): Remove unneeded NSTRACE.
* src/nsterm.m ([EmacsView viewDidResize:]): Don't report resizes to
Emacs when the same change has already been reported and delayed.
6 jobs for master in 13 minutes and 20 seconds (queued for 12 seconds)
Status Job ID Name Coverage
  Fast
failed #18623
test-fast-inotify

00:08:36

 
  Normal
failed #18624
test-lisp-inotify

00:03:00

passed #18625
test-lisp-net-inotify

00:04:42

 
  Slow
skipped #18626
build-native-bootstrap-speed0
skipped #18627
build-native-bootstrap-speed1
skipped #18628
build-native-bootstrap-speed2
 
Name Stage Failure
failed
test-lisp-inotify Normal
make: *** [check-lisp] Error 2
make: Leaving directory '/checkout/test'
Running after_script
Running after script...
$ test -n "$(docker ps -aq -f name=${test_name})" && docker cp ${test_name}:checkout/test ${test_name}
$ test -n "$(docker ps -aq -f name=${test_name})" && docker rm ${test_name}
test-lisp-inotify-609d814f
Cleaning up file based variables
ERROR: Job failed: exit code 2
failed
test-fast-inotify Fast
Makefile:300: recipe for target 'check' failed
make: Leaving directory '/checkout/test'
Running after_script
Running after script...
$ test -n "$(docker ps -aq -f name=${test_name})" && docker cp ${test_name}:checkout/test ${test_name}
$ test -n "$(docker ps -aq -f name=${test_name})" && docker rm ${test_name}
test-fast-inotify-609d814f
Cleaning up file based variables
ERROR: Job failed: exit code 2