PDF: Picky compiler

size_t isn't %lu

(cherry picked from commit 6f6d2a8caddda9e216ecf4ad5523b64af2b79202)