Gdiff: restore cursor position in original window

Fixes #428