pci: call object_unparent() before free_qdev()