glue: fix memory leak in conv_flags_to_str

The function 'bolt_flags_class_to_string' returns a dynamically
allocated string. This was previously not freed, creating a memory
leak. Its ownership is now correctly transferred to the GVariant
instead.
4 jobs for master in 4 minutes and 28 seconds (queued for 3 seconds)