TIMOB-12651 Backport to 3.1.0

TIMOB-12651 Undo GetStringCritical: V8 string creation may trigger garbage collection, which may trigger Titanium object garbage collection, which may made java calls.