GROOVY-6282: try fixing super constructor selection in case of the super class being on the classpath