[K/N] Disable testPermanentObjectsFramework w/o GC ^KT-56233

Merge-request: KT-MR-9542
Merged-by: Alexander Shabalin <Alexander.Shabalin@jetbrains.com>
diff --git a/kotlin-native/backend.native/tests/build.gradle b/kotlin-native/backend.native/tests/build.gradle
index 9a91a96..2b24f31 100644
--- a/kotlin-native/backend.native/tests/build.gradle
+++ b/kotlin-native/backend.native/tests/build.gradle
@@ -5972,7 +5972,7 @@
     }
 
     frameworkTest("testPermanentObjectsFramework") {
-        enabled = isExperimentalMM
+        enabled = isExperimentalMM && !isNoopGC // Requires gc to actually happen.
         framework("PermanentObjects") {
             sources = ['framework/permanentObjects']
             opts = ['-opt-in=kotlin.native.internal.InternalForKotlinNative']