Thermally activated magnetization reversal in the micromagnetic approach