tun/tap: Fix crashes if open() /dev/net/tun and then poll() it.