Reverse a singly linked list robustly | NVIDIA