GROOVY-10592: STC: add error for indirect static interface method access