git-gui: Refactor our ui_status_value update technique