Fixed debian/scripts/calcdebversion

When trying to compile a release version directly from the git tag
with "make deb" the version number was broken because we output it
including an unwanted newline in the middle.