Training effects in Gd5Ge4: role of microstructure