[PATCH 5.15 124/290] PCI/sysfs: Fix double free in error path