LOG: fix truncation in some messages that get padded.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Fedora's splint has a strange syntax error, don't fail on it.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
LOG: add a test for a padded hex int.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>