sasl: make call to sasl_client_done() version dependent.