The Rayleigh-Schrödinger expansion of the Gibbs state of a classical Heisenberg ferromagnet