Gravar-mail: Learning-Based End-to-End Path Planning for Lunar Rovers with Safety Constraints