ACPI / PM: Fix possible NULL pointer deref in acpi_pm_device_sleep_state()