linux-user: Use glib malloc functions in load_symbols()