Thermal spin dynamics of yttrium iron garnet