[ffmpeg/f40] Revert "Backport fixes for Mesa 24.0.6+ / 21.1.4+ changes for VA-API"