avcodec/mjpegenc: allow encoding amv with height % 16 != 0 when strict -1 is set