GROOVY-6512: add priviledged block for the creation of InnerLoader in ProxyGeneratorAdapter