supplicant: simplify linked list implementation

* Simplyfies linked list implementation by using queue.h macros
  instead.
* Fixes some theoretical memory leaks