registry: use talloc instead of malloc for tdb data in regdb_store_values().