iflist: fix link type detection for tap devices

To distinguish between tun and tap devices based on link->kind,
we need to check hwaddr.type, otherwise all tun/tap devices
show up as tun.

fixes bnc#887564