Rational solutions of the KdV equation with damping