XMM-Newton study of the lensing cluster of galaxies CL 0024+17