Fix ROOT-6678: make enums searchable w/o parsing

therefore reducing memory footprint.