ot::LinkedList::Pop() method
Pops an entry from head of the linked list.
Return value
The entry that was popped if the list is not empty, or `nullptr` if the list is empty.
Notes
This method does not change the popped entry itself, i.e., the popped entry next pointer stays as before.