fbpdf: zero-page documents are broken

The problem is fz_open_document() may not fail for broken
pdf files, which is unacceptable.
fbpdf: allocate page buffer when rendering