version.sh: Fix sed error on BSDs: bad flag in substitute command: '}'.