GROOVY-6401: Fixed inference when method call is "call" on a closure