Revert "merge from master without test. GROOVY-6323, GROOVY-6325, GROOVY-6332: make Closure not sue static scope and add transformer for VariableExpression in the static compiler"

This reverts commit def8b83e11a4fd6ee6cbe11bd72417018871d88e.