init.c: use list macro when removing pdus from the wait list