This avoids creating a dependency on -current libpciaccess for BSD systems other than OpenBSD (which don't otherwise need it). (cherry picked from commit db248ffb84)
db248ffb84