[PATCH 4.9 33/53] ACPI: scan: Rearrange memory allocation in acpi_device_add()