scripts: getver.sh: fix version based on stable branch