avstring: Add locale independent implementations of strcasecmp/strncasecmp