gallium/util: correctly unref a buffer in u_prim_restart