All-thermal switching of amorphous Gd-Fe alloys: Analysis of structural properties and magnetization dynamics