CuQ-RTM: A CUDA-based code package for stable and efficient Q-compensated reverse time migration