[src-openEuler/rdma-core-v6 2/4] libhns: Add pthread_spin_destroy()/pthread_mutex_destroy()