PDF: tweak openjpeg error edge case