Use %lu instead of %zu for format strings

The code normally uses %zu to print out size_t variables, but our
MinGW32 installation doesn't like that, so let's use %lu
(here, size_t == long unsigned int == unsigned long)

Change-Id: I2a496d236148963fb5bd9cf963f32a4830003ec6