msm: smd_tty: Reset the open flag in close operation

Thanks mrg666
https://github.com/mrg666/android_kernel_shooter/commit/b4c5d8b746c532ede17bba98e13a0c76f0f499b5