Add a new pkg_vcmp function to compare versions of 2 struct pkg *