linklist: handle NULL returns from pick_tagged_value()

Parallel list modification could allow pick_tagged_value() to return
NULL.  Check this condition to prevent segfaults.
Merge pull request #1 from dgryski/linklist-pick-tagged-value-segfault

linklist: handle NULL returns from pick_tagged_value()