git-gui: Refactored diff line display formatting logic.