git-gui: Cleanup handling of the default encoding.