[High-performance-network] [PATCH rdma-core 2/2] libhns: Inline set_extend_atomic_seg() to improve performance