GROOVY-5249 reduce locking in ClassInfo.getMetaClass(Object)

http://jira.codehaus.org/browse/GROOVY-5249