p31xx/p51xx: enable utf8 support for nls

Change-Id: Id8e71ded800741a69b2c718815ce60447dd3f20a