drm: Check crtc viewport correctly with rotated primary plane on atomic drivers