Fix GROOVY-6582.

Fix GROOVY-6582: Don't bypass getProperty in Script.invokeMethod when looking for Closure-valued properties.