driver: Fix a memory leak in log_driver_free()

After freeing up the members of self->plugins, free self->plugins itself
too.

Signed-off-by: Gergely Nagy <algernon@balabit.hu>