Fix constrained gsharedvt calls on enums.