GTK+ doesn't need to be initialized to get locale direction, which means we can do this without bringing up MetaUI at all.