Sync OpenBSD patchset 808:
Sync OpenBSD patchset 808:

server_kill_window can modify the RB tree so don't use RB_FOREACH, fixes
crash seen by Dan Harnett.


klaxalk/tmux,klaxalk/tmux,klaxalk/tmux,klaxalk/tmux,klaxalk/tmux