Resonant charge transfer in grazing atom-metal surface collisions: effect of the presence of steps on the surface