Fix headless.

Move GetLangValuesMapping out of MiscScreens.cpp so it can be used globally.

Thanks to @solarmystic for noticing(https://github.com/hrydgard/ppsspp/pull/3922#issuecomment-25127636).