From the discussion in #204177: Synthetic variables were, if they
weren't variables already, created with their original type plus a flag
that they're synthetic (`ValueTypeSyntheticMask`). This could lead to
unexpected results. For example, when a synthetic frame would return a
value derived from a global variable in `GetVariables`, the created
variable would be treated as a synthetic global variable.
With this PR, synthetic frames can overwrite the value type of the
variables they return.