keyboard: Don't call g_free on uninitialized variable
if gnome_parse_locale() fails (e.g. because priv->locale is NULL), lang and country were previously uninitialized. Calling g_free() on an uninitialized variable is a bad idea.
Fixes #187 (closed) (I hope).