ACPI suspend: Fix CONFIG_ACPI_SLEEP dependence and some compilation warnings