git-gui: Properly set the state of "Stage/Unstage Hunk" action