This function prints a single line of hex dump to the given line buffer.
The implementation relies on lkpi_hex_dump() to format the string. After the formatting, it trims the newline character automatically added by lkpi_hex_dump().
Sponsored by: The FreeBSD Foundation