drm/i915: Fix gen2 and hsw+ scanline counter