[Pdf417MobiSdk] fixed memory leak when multiple scans were performed in short timeframe; fixed possible deadlock in native library initialization