[PATCH v2 9/9] acpi: Move detecting available _DSM outside of while loops