Print an enueration specifier.
(print-enum-spec enumspec pstate) → new-pstate
We ensure that the enumeration specifier is not empty, i.e. that there is a name or a non-empty list of enumerators.