tun: Use POLLERR not EBADF in tun_chr_poll