git-gui: Fix the search bar destruction handler.