GROOVY-7096 - Avoid initialising classes loaded while Groovydoc'ing.