[SeaBIOS] [PATCH v3 1/2] pciinit: refactor mem init code