kernel/acpi: Use ACPI_FAILURE() and also remove unneeded variables.