Improve case-insensitive string hash (about 1% faster)