String: fix bounds checks on getChars

getCharsNoChecks really does mean *no checks*. We must check that
the output array has the right size.

Change-Id: I6a0521b5da42f344927833d7b17c2b477ba05def
1 file changed