Use standard print format specifiers

Fixes -Wextra warnings