x86: Move coreboot-table detection into common code