GROOVY-6030: Fix ambiguous method resolution in DGM vs interface