drm/nouveau: Use a helper function to match PCI device/subsystem IDs.