Use g_free instead of free

We're generally using the g_free function from glib instead of calling
free directly. Free is however called at one point in mxsh to free the
command line. Change it to call g_free instead.

Signed-off-by: Marcus Karlsson <mk@acc.umu.se>