Backport of "pnmdec: Return early on ::finish() if we have no actual data to parse" into 1.16
Backport of !784 (merged) "pnmdec: Return early on ::finish() if we have no actual data to parse".
Commits:
- 651110de pnmdec: Return early on ::finish() if we have no actual data to parse