Chemical diffusion in Complex Geometries during Chaotic Mixing of Magmas