lib ldb: rename LTDB_* constants to LDB_KV_*