spellcheck: Fix check for default language if LANG contains UTF-8

g_strndup() copies bytes, not UTF-8 characters.
Merge pull request #96 from b4n/wip/spellcheck

spellcheck: Fix check for default language if LANG contains UTF-8