Binary safe comparison of two strings from an offset, up to length characters