gitk: Add braces around if expressions