chardev: fix leak in tcp_chr_telnet_init_io()