A study of the lineshape of the NMR spin echo spectra of the compounds Gd1-xYxAl2 and Gd1-xLaxAl2