common/log: fix *_dump_log routines for ext4