gitk: Fix commit encoding support