Revert "GC: Improve the string parsing for GC parameter setting"

Fixes art JNI linker error

This reverts commit 8f566390bceee9f01b1721c4d00b1b246d26be16.

Change-Id: I0770486dd082dbd432d5393b154c06c0de94e150