message: Fix ADScope isolation in wavefront mode
diff: @@ -161,9 +161,6 @@ struct Loop<Mask, enable_if_jit_array_t<Mask>> {
  /// Configure the loop variables for recording
  void init() {
  - if (!m_record)
  - return;
  -
  if (m_state)
  jit_raise("Loop(\"%s\"): was already initialized!", m_name.get());
  @@ -173,6 +170,9 @@ struct Loop<Mask, enable_if_jit_array_t<Mask>> {
  m_ad_scope = true;
  }
  + if (!m_record)
  + return;
  +
  // Capture JIT state and begin recording session
  m_jit_state.new_scope();
  