utf8_width(): allow non NUL-terminated input