berkeley_db: cdb_next_item() use DB_REALLOC, not DB_MALLOC