[PATCH 4.19 168/323] misc: pci_endpoint_test: Free IRQs before removing the device