Exclude test from realtime only build

Excldue the test Issue449376308, which uses
AOM_USAGE_GOOD_QUALITY, from the realtime only build.
This fixes the nightly failure.

Bug: b:449376308
Change-Id: Ia6a278f273979a77ca1b905ce7b55e86fd6098d7
diff --git a/test/encode_api_test.cc b/test/encode_api_test.cc
index 252b1bf..60a2575 100644
--- a/test/encode_api_test.cc
+++ b/test/encode_api_test.cc
@@ -1645,6 +1645,7 @@
   ASSERT_EQ(aom_codec_destroy(&enc), AOM_CODEC_OK);
 }
 
+#if !CONFIG_REALTIME_ONLY
 // This test is based on the issue:449376308. The segfault in
 // av1_update_layer_context_change_config() is triggered
 // by doing svc with nonzero lag_in_frames and good_quality usage.
@@ -1684,6 +1685,7 @@
             AOM_CODEC_OK);
   ASSERT_EQ(aom_codec_destroy(&enc), AOM_CODEC_OK);
 }
+#endif
 
 // This test is based on the issue:449341177. The issue occurs in the
 // codec_destroy after invalid params (quantizer out of range) are passed