[common] fixes threaded crtp check macro usage