check for invalid masks in getSubnetBroadcastAddress in IPAWithMask