Gradient expansion of the atomic kinetic energy functional