drivers/tty/n_tty.c: fix CVE-2014-0196

Signed-off-by: GuneetAtwal <harjinder767@gmail.com>