The lattice free energy of QCD with clover fermions, up to three-loops