GROOVY-6330: Groovy not checking generics information correctly for covariant methods implementing interfaces