Fix enums declared in redecls of namespaces.