Add zariz_snapshot_set_last_nid.