ART: Use a scoped disable-moving-gc helper in reg_type_test

In general we cannot use the standard ScopedGCCriticalSection,
because we rely on the RegTypeCache to load classes for the
test (in part for test setup convenience, in part as an actual
test).

Test: m test-art-host-gtest-reg_type_test
Change-Id: I00dafc28a39fe97ecee41284fd5d8f3642bf5a2f
1 file changed