Bug 878424 - Add last remaining bytes.length check for decodeByteArray(). r=mfinkle a=akeybl