games/libretro-uae: Fix build on 13.x and 14.x
PR: 256764 (cherry picked from commit 45e4a00e81d6a7bec69f3dec087e9f9703645b70)