Magnetic behaviour of Al and Mn substituted Gd2Fe17 compounds