[intel-media-driver] Revert "Fix build with GCC 15"