GROOVY-6233: Fix TupleConstructor and EnumCompletionVisitor not being co...

...mpatible with @CompileStatic