ACPI / ACPICA: Use helper function for computing GPE masks