Conformal symmetry breaking and thermodynamics of near-extremal black holes