Fix some incorrect format qualifiers

These were found by clang warnings.