ipc_socket: Fixup HTC specific condition

This condition caused to crash because of new net/socket.c, that didnt check if addr was null or not.

This fixes ipc crashes