Fixed locking issue in the trun method of libradosstriper leading to potential race conditions - Fixes: #2951

Signed-off-by: Sebastien Ponce <sebastien.ponce@cern.ch>