[PATCH 6.7 018/353] ACPI: tables: Correct and clean up the logic of acpi_parse_entries_array()