lib/dbwrap: don't alter the record on failure in db_rbt_store()