Move cached_config_t to talloc