Replace deprecated g_str[n]casecmp with g_ascii_str[n]cmp.