GROOVY-6722: Compiler doesn't handle generic array covariant