Structure and magnetic properties of Gd2Fe17−xGaxC2 compounds