Add optimized x86-64 implementation of strnlen.