net: socket: fix recvmmsg not returning error from sock_error