Guiding Energy-Efficient Locomotion through Impact Mitigation Rewards