Support encoding RGB48 with libopenjpeg.