review: replace KNOT_ERROR with lmdb_error_to_knot()