PR16927: Don't assert (or, previously, skip) static data members of enumeration type