Doubly linked list helper functions for dealing with zeroed list heads.