Crystal Palace have confirmed striker Marouane Chamakh has joined on a one-year contract from Arsenal.