Revert "GROOVY-6323, GROOVY-6325, GROOVY-6332: make Closure not sue static scope and add transformer for VariableExpression in the static compiler"

This reverts commit 403f3bf4af029e9e0344dda0d74e9c21062ece7a.