It won't gain mass, but will either gain or lose a tiny bit of rotation (dependent upon the direction in which you're walking). It's more the "equal and opposite reaction" concept than the "e=mc2" one.
The momentum you transfer to the ground is the same as the momentum that you gain. The energy is different though. The ground only receives a very tiny fraction of the energy. Nearly all of it goes into you.