tty: Fix race condition between __tty_buffer_request_room and flush_to_ldisc