[PATCH 5.4 097/111] ACPI: scan: Rearrange memory allocation in acpi_device_add()