fix pci resource allocation in em, don't crash!
fix pci resource allocation in em, don't crash!

fix by brad@

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars