6664815: Eliminate redundant memcpy operation in jni_GetStringUTFRegion
Summary: Added support for target buffer in as_utf8_string(), minor refactoring of as_utf8 and added some internal VM testing
Reviewed-by: coleenp, dsimms, sla, dholmes
Contributed-by: marcus.larsson@oracle.com