hw/cxl: Fix wrong query of target ports