pci: fix UIO interrupt file descriptor check before close