The Lo-MacKinlay test is implemented in a function package that
you can download. Go to /File/Function files/On server and look
for lomackinlay. The Chow-Denning test is not implemented, though
I suppose it would not be very difficult to program in gretl.
Alternatively you could look at the vrtest package of R.
hth
Stefan