util/cmake: enable ScopeTracing through cmake variable option