PCI/MSI: Use #ifdefs instead of weak functions