GROOVY-7039: Static compiler fails to resolve public field defined in an interface