write-concern: add getters to mongoc_write_concern_t.