[PATCH 4.19 59/72] ACPI: scan: Rearrange memory allocation in acpi_device_add()