The trilinear gluon condensate on the lattice