ACPI / video: Refactor and fix dmi_is_desktop()