Tens of thousands of people have put their names to a petition protesting against the appointment of a former European Union leader to Goldman Sachs.