Print size in platform independent way

The cli tool builds with a warning on at 32 bit x86. That's because the
length modifier in the format string is different depending on what type
size_t is. Fix the warning by using the PRIuPTR macro.

Signed-off-by: Marcus Karlsson <mk@acc.umu.se>