Fix another place where DEBUG_VALUE affected codegen.