Improve Java UTF-8 decoding

Fixes issue #503. This should get us about a 10X speedup when parsing classfile strings.