jbig2dec fork for NativeClient