sim: drop typedef defind to display the type in the code

signed-off-by: Zhong Hongbo <bocui107@gmail.com>
sim: Redesign the list struct to struct list_head

The old method to use the first element of the struct for the
next point. Using the new list API for the list_head struct,
the new list will default alloc a list head node. There are
simple the operation of the list.  And implement more list
on the a struct.

signed-off-by: Zhong Hongbo <bocui107@gmail.com>
sim: Redesign the implement of the list

1. Delete the node_list API, Since node_list just add
the simple operate on the list. And it hide the specific
for the node. Such as free the node. It is very unsafe.

2. This Changes fix a bug. When quit the sim, the
sub thread will be stay the running state.

signed-off-by: Zhong Hongbo <bocui107@gmail.com>
sim: mov the offset defind to the stddef.h

Signed-off-by: Zhong Hongbo <bocui107@gmail.com>