[PATCH v2 2/3] regedit: Correctly calculate REG_MULTI_SZ size before reading from the buffer