fix netif in case where ifr->ifr_name = eth0:avahi

removing the part of the string after the colon allowed
eth0 to be found properly in sigar_net_interface_stat_get()