multi language support api_alloc_wstring_len 

part 2 for multi language support. With this updates NME TextField.text can accept different cultural languages on neko target.