openwrt: fix detection of IPv4 addresses from netifd