libnetutils/packet.c - fix a socket leak on bind error am: b9add4a315 am: 991842c681

Change-Id: I5f6d61f9442ee6a3b874c9c4d6cf9b97b14dd159