[PATCH 1/2] regedit: Pass correct data size when adding a new value via the GUI