The accretion-heated crust of the transiently accreting 11-Hz X-ray pulsar in the globular cluster Terzan 5