Goals from in-form striker Andre-Pierre Gignac and Florian Thauvin saw Marseille return to winning ways after they beat Valenciennes 2-1.