[PATCH v2 11/30] vfio: selftests: Add a helper for matching vendor+device IDs