reg: Fix a heap corruption when printing specific REG_MULTI_SZ values.