[SeaBIOS] [PATCH 12/19] smbios: Extract SMBIOS table building code to separate function