GROOVY-4670: groovy.ui.Console cannot be extended

https://jira.codehaus.org/browse/GROOVY-4670