Middlesbrough have announced that Moroccan attacking midfielder Merouane Zemmama has left the club by mutual consent.