bee_version_compare: Fix leading zero comparision

fix a bug where pkg-1.02.3-0 was considered equal to pkg-1.2.4-0
because leading zeros caused the the algorithm to ignore and not
compare the rest of the string after detecting leading zeros.
Merge branch 'beeversion-fix'

* beeversion-fix:
  bee_version_compare: Fix leading zero comparision