tdb2: fix argument order for tdb_gradual_lock.