ldb: Change some prototypes to using ldb_val instead of TDB_DATA