util: remove redundant include of glib.h and add osdep.h