config/options: arrange add_opt() to use only mem_free() instead of