Electron spin resonance of Gd1-xSmxAl2 and Gd1-xDyxAl2