add jpeg_optimizer_open and jpeg_optimizer_close api for optimize multi picture