GROOVY-6528: Nicer error message for missing static method calls