Made constant local variables 'p', 'pc', and 'first'

Byte pointers on string.c (lines 457, 477, 496, 504, 519) needed to be
made constant.

Also there was an unclosed brace in utf8_to_utf16, that has been fixed.