LogDlg: Use same logic for calculating working tree changes as in commit dialog