libvlc: backport smb2 patches

This commit fixes a possible null-deref when stopping a smb2 session.
4 jobs for !210 with smb2-backport-patches in 9 minutes and 48 seconds (queued for 1 second)
detached
Status Job ID Name Coverage
  Build
failed #298386
android debian
build-libvlc-arm64

00:09:22

failed #298387
android debian
build-libvlc-armv7

00:09:26

failed #298388
android debian
build-libvlc-x86

00:09:48

failed #298389
android debian
build-libvlc-x86_64

00:09:31

 
Name Stage Failure
failed
build-libvlc-x86 Build
libtool: install: /usr/bin/install -c .libs/libgmp.a /builddir/tguillem/vlc-android/vlc/contrib/i686-linux-android/lib/libgmp.a
libtool: install: chmod 644 /builddir/tguillem/vlc-android/vlc/contrib/i686-linux-android/lib/libgmp.a
libtool: install: /builddir/tguillem/vlc-android/vlc/build-android-i686-linux-android/ndk/toolchains/bin/i686-linux-android-ranlib /builddir/tguillem/vlc-android/vlc/contrib/i686-linux-android/lib/libgmp.a
make[4]: Leaving directory `/builddir/tguillem/vlc-android/vlc/contrib/contrib-android-i686-linux-android/gmp'
make[3]: Leaving directory `/builddir/tguillem/vlc-android/vlc/contrib/contrib-android-i686-linux-android/gmp'
make[2]: Leaving directory `/builddir/tguillem/vlc-android/vlc/contrib/contrib-android-i686-linux-android/gmp'
make[1]: Leaving directory `/builddir/tguillem/vlc-android/vlc/contrib/contrib-android-i686-linux-android/gmp'
touch .gmp
ERROR: Job failed: exit code 1
failed
build-libvlc-x86_64 Build
libtool: install: /usr/bin/install -c .libs/libgmp.a /builddir/tguillem/vlc-android/vlc/contrib/x86_64-linux-android/lib/libgmp.a
libtool: install: chmod 644 /builddir/tguillem/vlc-android/vlc/contrib/x86_64-linux-android/lib/libgmp.a
libtool: install: /builddir/tguillem/vlc-android/vlc/build-android-x86_64-linux-android/ndk/toolchains/bin/x86_64-linux-android-ranlib /builddir/tguillem/vlc-android/vlc/contrib/x86_64-linux-android/lib/libgmp.a
make[4]: Leaving directory `/builddir/tguillem/vlc-android/vlc/contrib/contrib-android-x86_64-linux-android/gmp'
make[3]: Leaving directory `/builddir/tguillem/vlc-android/vlc/contrib/contrib-android-x86_64-linux-android/gmp'
make[2]: Leaving directory `/builddir/tguillem/vlc-android/vlc/contrib/contrib-android-x86_64-linux-android/gmp'
make[1]: Leaving directory `/builddir/tguillem/vlc-android/vlc/contrib/contrib-android-x86_64-linux-android/gmp'
touch .gmp
ERROR: Job failed: exit code 1
failed
build-libvlc-armv7 Build
libtool: install: /usr/bin/install -c .libs/libgmp.a /builddir/tguillem/vlc-android/vlc/contrib/arm-linux-androideabi/lib/libgmp.a
libtool: install: chmod 644 /builddir/tguillem/vlc-android/vlc/contrib/arm-linux-androideabi/lib/libgmp.a
libtool: install: /builddir/tguillem/vlc-android/vlc/build-android-arm-linux-androideabi/ndk/toolchains/bin/arm-linux-androideabi-ranlib /builddir/tguillem/vlc-android/vlc/contrib/arm-linux-androideabi/lib/libgmp.a
make[4]: Leaving directory `/builddir/tguillem/vlc-android/vlc/contrib/contrib-android-arm-linux-androideabi/gmp'
make[3]: Leaving directory `/builddir/tguillem/vlc-android/vlc/contrib/contrib-android-arm-linux-androideabi/gmp'
make[2]: Leaving directory `/builddir/tguillem/vlc-android/vlc/contrib/contrib-android-arm-linux-androideabi/gmp'
make[1]: Leaving directory `/builddir/tguillem/vlc-android/vlc/contrib/contrib-android-arm-linux-androideabi/gmp'
touch .gmp
ERROR: Job failed: exit code 1
failed
build-libvlc-arm64 Build
libtool: install: /usr/bin/install -c .libs/libgmp.a /builddir/tguillem/vlc-android/vlc/contrib/aarch64-linux-android/lib/libgmp.a
libtool: install: chmod 644 /builddir/tguillem/vlc-android/vlc/contrib/aarch64-linux-android/lib/libgmp.a
libtool: install: /builddir/tguillem/vlc-android/vlc/build-android-aarch64-linux-android/ndk/toolchains/bin/aarch64-linux-android-ranlib /builddir/tguillem/vlc-android/vlc/contrib/aarch64-linux-android/lib/libgmp.a
make[4]: Leaving directory `/builddir/tguillem/vlc-android/vlc/contrib/contrib-android-aarch64-linux-android/gmp'
make[3]: Leaving directory `/builddir/tguillem/vlc-android/vlc/contrib/contrib-android-aarch64-linux-android/gmp'
make[2]: Leaving directory `/builddir/tguillem/vlc-android/vlc/contrib/contrib-android-aarch64-linux-android/gmp'
make[1]: Leaving directory `/builddir/tguillem/vlc-android/vlc/contrib/contrib-android-aarch64-linux-android/gmp'
touch .gmp
ERROR: Job failed: exit code 1