Implementation of strncasecmp() which returns the case-insensitive difference between two strings.