[RFC PATCH 18/33] vfio: selftests: Add a helper for matching vendor+device IDs