The Gd-Ni-Ga system at 870 ​K as a representative of rare-earth nickel gallides: Crystal structure and magnetic properties