On the ion beam stopping power dependence of transient magnetic fields in Fe- and Gd-hosts