bmllog: fix the build for --disable-debug

Return NULL for TRACE_INIT, when tracing is disabled.