(libretro-build-common.sh) Cut down on more code duplication