Messi's late cameo lifts Argentina