Fixed issue with luanet_loadbuffer loading UTF8 strings.

From e684b9698a9657ca8d1e8678582803d1267c720f at NLua/lua.