A new Ap–A∞ estimate for Calderón–Zygmund operators in spaces of homogeneous type