El Hamdaoui set for Malaga loan