list.h: remove no-longer needed type casts

Due to previous commit 4b079d2b7ee2f8398ff67e2c40b62c50ccf06e12
it is no longer needed to type-cast list_head_t* to list_elem_t*,
thus cleaning it up.
1 file changed