gitk: Fix some off-by-one errors in computing which line to blame