libreplace: fix silly crashbug in getifaddrs_test().