parse_events_resolve_symbol(): fix breaking logic becaues of strtol:endptr