TS-1690 fix build on arm/ubuntu/gcc-4.2:

change %ld to %zu because size_t. We don't use PRi because there
is none for size_t.