Dependence of energy loss of hard jets on the initial thermodynamic state of deconfined matter