Fix valgrind warning.
The constructor for OptionNum technically used an initialized value during
startup to create a string. However both this value and the resulting string
were overwritten before actual use. Rework the class to avoid this
issue.