hw/acpi/aml-build: Fix memory leak