Control of Impurity Phase Segregation in a PdCrO$_2$/CuCrO$_2$ Heterostructure