avcodec/libopenjpegenc: Set numresolutions by default to a value that is not too...