[SeaBIOS] [PATCH v3 1/2] pci: refactor the pci_config_*() functions