codegen: remove the third argument of cg_upcall_flat_to_data because it