tests: logging: Improve compatibility with 64-bit platforms

Use %zu format specifier for size_t type to ensure compatibility with both
32-bit and 64-bit platforms.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2 files changed