drm/amd/amdgpu: Merge get_rptr functions in gfx8