[PATCH 5.12 295/363] ACPI: scan: Fix a memory leak in an error handling path