pci: fix device registration on FreeBSD