pdfdetach: don't mention xpdfrc

- drop -cfg command line argument; the old code passed its value to
  GlobalParams constructor which is the data dir, not a cfg file
- remove corresponding lines from pdfdetach.1
- fix '-enc' documentation in pdfdetach.1
Fix `pdftotext -bbox in.pdf -`

Print body text to stdout if invoked as above.

Bug #45163
Fix a typo
Tagged-PDF: Accessors in Catalog for the MarkInfo dictionary
pdfinfo: Use Catalog::getMarkInfo() to show mark info properties
use copyString where memory is freed with gfree

Bug #67666
Fix exit(1) in 1026.asan.0.42.pdf

The main crash in discussion with Thomas
Fix jpeg image export

Use same logic than the one used in ImageOutputDev
Bug #48270
Revert "pdfinfo: Use Catalog::getMarkInfo() to show mark info properties"

This reverts commit 73cca518c479594e26605196d54b429fbf42dcdc.

No clue how this ended up in the stable branch
Revert "Tagged-PDF: Accessors in Catalog for the MarkInfo dictionary"

This reverts commit 402ee8b4e31630a42a0a38db1d39164cc5789f3c.

No clue how this ended up in the stable branch
Fix crash in 1026.asan.0.42.pdf

We were not checking that bitmapOff was in bounds
use getRGBLine images if available

Speeds up greatly files from bug #66928

E.g. some file went from 21s to 2s in my computer
Don't copy not needed bitmap

Speeds up rendering of fixes from bug 67105
As example one file is down from 130s to 6.5s