Nuclear recoil effect on the binding energies in highly charged He-like ions