Case-insensitive version of str_replace().