Add colour support in rebase and merge tree diff stats output.