GROOVY-6831: Access to private static fields from within inner classes i...

...s inconsistent