tracing: Simplify trace_option_write()