[PATCH AUTOSEL 4.4 50/56] tty: pty: Fix race condition between release_one_tty and pty_write