miniupnpc:  Fix testminiwget.sh for BSD

Fixes #33
miniupnpd/getifaddr.c: Uses ifr_addr if ifr_netmask is not defined in struct ifreq
miniupnpd/testgetifaddr: display addr and mask