hexdump: use unlocked io, and avoid use of printf()

This makes common cases about 35-50% quicker.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
text-utils: use unlocked io

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
misc-utils: use unlocked io

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
scriptreplay: use unlocked io

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
dmesg: use unlocked io, and avoid use of printf()

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
utmpdump: use unlocked io, and avoid use of printf()

Signed-off-by: Sami Kerola <kerolasa@iki.fi>