Fix a bug in ZXPDF417BitMatrixParser.m
Ported r2353 from ZXing

Original commit message: "Issue 1314 add hint to control margin in
Writer, and switch to more natural boolean[] representation"
Ported r2367 from ZXing

Original commit message: "Issue 1324 Generate proper FormatException on
QR code with bad structured append segment"
Ported r2370 from ZXing

Original commit message: "Issue 1315 fix crash with crop rectangle"