Copper-rich planar defects in Gd-substituted superconductors