soc/amd/cezanne,soc/intel/common: rework CPPC table generation

Make use of the newly introduced ACPI macros for CPPC table generation
that currently exists of a bunch of confusing assignments of structs
that only get partially filled.

Test: dumped SSDT before and after do not differ.

Change-Id: I844d191b1134b98e409240ede71e2751e51e2159
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/57888
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Lance Zhao
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
diff --git a/src/include/acpi/acpi.h b/src/include/acpi/acpi.h
index e35accd..bc0b30c 100644
--- a/src/include/acpi/acpi.h
+++ b/src/include/acpi/acpi.h
@@ -130,7 +130,7 @@
 
 /* Macros for common resource types */
 #define ACPI_REG_MSR(address, offset, width) \
-	{ \
+	(acpi_addr_t){ \
 		.space_id    = ACPI_ADDRESS_SPACE_FIXED, \
 		.access_size = ACPI_ACCESS_SIZE_QWORD_ACCESS, \
 		.addrl       = address, \
@@ -138,7 +138,7 @@
 		.bit_width   = width, \
 	}
 
-#define ACPI_REG_UNSUPPORTED	{0}
+#define ACPI_REG_UNSUPPORTED	(acpi_addr_t){0}
 
 /* Common ACPI HIDs */
 #define ACPI_HID_FDC "PNP0700"