Finite-temperature topological entanglement entropy for CSS codes