Carlos Sainz helped Williams to seal P5 in the Constructors' Championship with his second Grand Prix podium of the season.