The Gaia-ESO Survey. Mg-Al anti-correlation in iDR4 globular clusters