gitk: Fix diff this->selected and selected->this functions