TTY: msm_smd_tty: Fix simultaneous open/close race condition (thanks to Steven Cahail)