Trends and anomalies in the thermodynamics of gaseous thorium and uranium halides