[PATCH v6 03/10] cxl/pci: Fix NULL vs ERR_PTR confusion