autogenerate VERSION on the pack.sh file, to use version from gdb/Makefile

To lazy to change the pack.sh file.  So instead I change the shell file to get the version from Makefile.