GROOVY-6527 Refactor checkcall to handle chaining
Merge branch 'secureruntime' of github.com:rivieragug/groovy-core into secureruntime