data-sort: do not check return value of pthread_mutex_unlock

Requested by: zbr@
data-sort: do not use abort in library
data-sort: use grace period only if binlog requested