Acidolysis of intermediates used in the preparation of core-modified porphyrinic macrocycles