acpi: add checking for NULL early param