fix hiredis bug when end of str is \r,this may cause protocol parse error.

if end of str is \r ,in function seekNewLine,s[pos+1] is accessing invalid address.usually we will get random value,but if it is '\n',hiredis thinks it get a \r\n but not.when next tcp packet carries \n in first byte,protocol error occurs.