Resonant magnetic X-Ray scattering study of KCuF3