The former Stoke star wants to leave the Spanish side after being part of France's World Cup-winning squad