Within CYC_length, raise error if cdr is not a list or nil