GROOVY-6834: False positive variable scoping error when using AIC in com...

...bination with logging AST transform