Stub out an API for determining the length, in bytes, of the valid UTF-8 sequences in a string.

Issue: PLCR-532
Implement API for trimming incomplete UTF-8 multibyte sequences from a truncated UTF-8 string.

Issue: PLCR-532