output: Add null sentinel automatically to parse_enum() arguments.