GROOVY-6434: @Newify AST transformation doesn't work for closure