Fix memdbg error for log_file
* src/debug.cpp (set_log_file): Do not use memdbg decorated functions.
The log file is first set in conjunction with reading the
debug options. So we do not memdbg the alloc and later
get an error when options are read again. This
fixes an Error message.