[High-performance-network] libhns: Return an error when post send/recv/srq_recv in reset state