Ported r2708 from ZXing

Original commit message: "More PDF417 changes from Guenther"
Add support for 64-bit