Ensure Nterp is also supported in CanRuntimeUseNterp.

Bug: 112676029
Test: test-art-host-gtest
Change-Id: Ib48724d9c985a970ec023b99282a3b3a123afaec
diff --git a/runtime/interpreter/mterp/nterp.cc b/runtime/interpreter/mterp/nterp.cc
index 1e52492..c14a5ff 100644
--- a/runtime/interpreter/mterp/nterp.cc
+++ b/runtime/interpreter/mterp/nterp.cc
@@ -38,7 +38,7 @@
 
 bool CanRuntimeUseNterp() REQUIRES_SHARED(Locks::mutator_lock_) {
   // Nterp has the same restrictions as Mterp.
-  return CanUseMterp();
+  return IsNterpSupported() && CanUseMterp();
 }
 
 bool CanMethodUseNterp(ArtMethod* method) REQUIRES_SHARED(Locks::mutator_lock_) {