debian/rules: simplify version parsing