games/0ad: Fix build with clang 19
(cherry picked from commit d8eeb07e62ca8547db889557610f1fc543542348)