The moments of the logarithm of a G.C.D. related to Lucas sequences