Core/AH: Fix build

Fix build caused by 4.3.4 dbcs not having locales in ItemRandom*.dbcs .
Fix a buffer overflow trying to access a char* as char**