Argentina coach Tata Martino admits his side struggled against Panama until Lionel Messi "came on and changed everything."