Investigation of the Mg-Rich Part of the Mg-Dy-Sm Phase Diagram