linux-user: Change thread_env to CPUState

Signed-off-by: Andreas Färber <afaerber@suse.de>
bsd-user: Change thread_env to CPUState

Signed-off-by: Andreas Färber <afaerber@suse.de>