Refactor: libcrmcommon: Sanity-check utf8_bytes() result
If we ever hit this assertion, then either
- there's a bug in utf8_bytes(), or
- we've encountered an unexpected string encoding that the rest of our library code can't handle properly.
Signed-off-by: Reid Wahl <nrwahl@protonmail.com>