GROOVY-6421: Newify fails for local variable assignment