An implicit stabilization strategy for Q-compensated reverse time migration