Exchange interaction in GdT2 (T=Fe,Co,Ni) from first-principles