Hard-thermal-loop Resummation of the Free Energy of a Hot Quark-Gluon Plasma