Estimating spontaneous magnetization from a mean field analysis of the magnetic entropy change