t/t7505-prepare-commit-msg-hook.sh: use the $( ... ) construct for command substitution