fix variable name for IPv6 case in construct_utmpx

patch from writeonce AT midipix.org via bz#2296