[PATCH 5.10 196/221] ACPI: scan: Rearrange memory allocation in acpi_device_add()