GROOVY-6971: try to improve performance of GeneratedMetaMethod.Proxy#proxy()