net/wan: fix a double free in x25_asy_open_tty()