cscope: check end of token as well as front

follow-up to 528db2849605 and 0ea8a6788c. Otherwise we barf on variables named
things like new_object if there is another call to "new" on the same line.