xt_socket: fix gcc 4.7 warnings