GROOVY-6672: ClassFormatError if trait (accidentally) "extends" interface