Fix the printf family for non-ASCII.

The bug here turned out to be that we hadn't increased the constant
corresponding to the maximum number of bytes in a character to match
our new implementation, so any character requiring more than a byte
in UTF-8 would break our printf family.

Bug: 15439554

(cherry picked from commit 69f05d291d848de654c72e5278de8ca06fbf5d2f)

Change-Id: Ia5467e22ccb022e8d118de82291916050656147e
4 files changed