tdb2: implement tdb_chainlock_read/tdb_chainunlock_read.