Fix format string warnings (size_t vs. unsigned)