regedit: Pass updated REG_SZ and REG_EXPAND_SZ data via 'struct edit_params'.