CCITTFaxStream parser: resolve xref if needed

Fixes #5243
Merge pull request #5249 from Rob--W/issue-5243

CCITTFaxStream parser: resolve xref if needed