[HandBrake/f40] Fix build with GCC14