hdt: flags_to_string is now part of the acpi code