virtiofsd: Changed allocation of lo_map_elems to GLib's functions