Convert resolvedep() to use _alpm_depcmp_literal()