Computation of latent heat in the system of multi-component order parameter: 3D Ashkin-Teller model