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

g_str[n]cmp functions have been deprecated since glib 2.2.