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