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

This function had no real usage yet
This reverts commit e232d6021772f94bcd19a72faad50a23bfbedc00.