On the modulus of continuity for spectral measures in substitution dynamics