A stable scalar wave equation for reverse-time migration in TI media