g_key_file_has_key_full: New function to fix g_key_file_has_key()'s GError semantics