[ffmpeg/f25] Add support for LibOpenJPEG v2.2