utils/gprintf.c: Return the correct number of output characters.