[U-Boot] [PATCH 07/12] x86: Simplify codes in write_tables()