PR18400: ignore cv-qualifiers on the underlying type of an enumeration.