GROOVY-5952: Groovyc doesn't check annotations for missing attributes if variable is annotated