toolbox-version: grab only the commit hash instead of the commit message

This change prevent toolbox-version to keep too many line when it updates
src/version.h, which was happening when the commit message contains the
word "commit".

Signed-off-by: Patrick Rouleau <pfrouleau@gmail.com>