Temperature-induced variations of magnetization kinetics of FeNi in the FM/SC and FM/AFM heterostructures