ldb_tdb: Rework ltdb_modify_internal() to use ltdb_search_dn1() internally