GROOVY-7041: Fix spread operator leaving an operand on stack with @CompileStatic