Remove the IsSuspended check.

The method also checks if there is a suspend request, and there is
none when it's the thread suspending itself.

Test: test.py
Bug: 265638087
Change-Id: I398b5d42dcf2bbd88bad77a3b8e7fd0f4a70cef3
diff --git a/perfetto_hprof/perfetto_hprof.cc b/perfetto_hprof/perfetto_hprof.cc
index 318b890..998a513 100644
--- a/perfetto_hprof/perfetto_hprof.cc
+++ b/perfetto_hprof/perfetto_hprof.cc
@@ -913,7 +913,6 @@
   std::optional<art::gc::ScopedGCCriticalSection> gcs(std::in_place, self, art::gc::kGcCauseHprof,
                                                       art::gc::kCollectorTypeHprof);
 
-  DCHECK(self->IsSuspended());
   std::optional<art::ScopedSuspendAll> ssa(std::in_place, __FUNCTION__, /* long_suspend=*/ true);
 
   pid_t pid = fork();