Anomalous gravitational TTT vertex, temperature inhomogeneity, and pressure anisotropy