c_glib: remove -Werror
fix some license headers